From 7258295b51ee7cac64553fcbcee5e51bd204fbbf Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 14 Jul 2018 13:05:52 -0600 Subject: Make global two interpreter variables These variables are constant, once initialized, through the life of a program, so having them be per instance is a waste of time and space --- perlapi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perlapi.h') diff --git a/perlapi.h b/perlapi.h index 5b004ae69e..af5b042b72 100644 --- a/perlapi.h +++ b/perlapi.h @@ -109,6 +109,8 @@ END_EXTERN_C #define PL_GCB_invlist (*Perl_GGCB_invlist_ptr(NULL)) #undef PL_HasMultiCharFold #define PL_HasMultiCharFold (*Perl_GHasMultiCharFold_ptr(NULL)) +#undef PL_InBitmap +#define PL_InBitmap (*Perl_GInBitmap_ptr(NULL)) #undef PL_LB_invlist #define PL_LB_invlist (*Perl_GLB_invlist_ptr(NULL)) #undef PL_Latin1 @@ -219,6 +221,8 @@ END_EXTERN_C #define PL_utf8_idcont (*Perl_Gutf8_idcont_ptr(NULL)) #undef PL_utf8_idstart #define PL_utf8_idstart (*Perl_Gutf8_idstart_ptr(NULL)) +#undef PL_utf8_mark +#define PL_utf8_mark (*Perl_Gutf8_mark_ptr(NULL)) #undef PL_utf8_perl_idcont #define PL_utf8_perl_idcont (*Perl_Gutf8_perl_idcont_ptr(NULL)) #undef PL_utf8_perl_idstart -- cgit v1.2.1