summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-25 11:41:15 -0600
committerKarl Williamson <khw@cpan.org>2018-03-26 16:50:29 -0600
commite80a0113c4a8036dfb22aec44d0a9feb65d36fed (patch)
tree73662d2c4002a44d727b19e948d2e2dfe83ef0ba /perlapi.h
parent5174a8215ac5f41173effe13ac2a969be3ac40e0 (diff)
downloadperl-e80a0113c4a8036dfb22aec44d0a9feb65d36fed.tar.gz
Move case change invlists from interpreter to global
These are now constant through the life of the program, so don't need to be duplicated at each new thread instantiation.
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index f882f6b840..c24f8ea7bf 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -215,6 +215,16 @@ END_EXTERN_C
#define PL_utf8_perl_idcont (*Perl_Gutf8_perl_idcont_ptr(NULL))
#undef PL_utf8_perl_idstart
#define PL_utf8_perl_idstart (*Perl_Gutf8_perl_idstart_ptr(NULL))
+#undef PL_utf8_tofold
+#define PL_utf8_tofold (*Perl_Gutf8_tofold_ptr(NULL))
+#undef PL_utf8_tolower
+#define PL_utf8_tolower (*Perl_Gutf8_tolower_ptr(NULL))
+#undef PL_utf8_tosimplefold
+#define PL_utf8_tosimplefold (*Perl_Gutf8_tosimplefold_ptr(NULL))
+#undef PL_utf8_totitle
+#define PL_utf8_totitle (*Perl_Gutf8_totitle_ptr(NULL))
+#undef PL_utf8_toupper
+#define PL_utf8_toupper (*Perl_Gutf8_toupper_ptr(NULL))
#undef PL_utf8_xidcont
#define PL_utf8_xidcont (*Perl_Gutf8_xidcont_ptr(NULL))
#undef PL_utf8_xidstart