diff options
author | Karl Williamson <khw@cpan.org> | 2018-08-15 16:11:04 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-02-14 22:12:44 -0700 |
commit | dd52e3cc434f4c6a495379f06a99d35da217eecb (patch) | |
tree | 9ef681fd341f3f879f78d87f14eff767c460aa9e /perlapi.h | |
parent | 8310e7fa48c5bce320e9c36df267f587d84cebce (diff) | |
download | perl-dd52e3cc434f4c6a495379f06a99d35da217eecb.tar.gz |
Add global hash to handle \p{user-defined}
A global hash has to be specially handled. The keys can't be shared,
and all the SVs stored into it must be in its thread. This commit adds
the hash, and initialization, and macros for context change, but doesn't
use them. The code to deal with this is entirely confined to regcomp.c.
Diffstat (limited to 'perlapi.h')
-rw-r--r-- | perlapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -215,6 +215,10 @@ END_EXTERN_C #define PL_timesbase (*Perl_Gtimesbase_ptr(NULL)) #undef PL_use_safe_putenv #define PL_use_safe_putenv (*Perl_Guse_safe_putenv_ptr(NULL)) +#undef PL_user_def_props +#define PL_user_def_props (*Perl_Guser_def_props_ptr(NULL)) +#undef PL_user_def_props_aTHX +#define PL_user_def_props_aTHX (*Perl_Guser_def_props_aTHX_ptr(NULL)) #undef PL_user_prop_mutex #define PL_user_prop_mutex (*Perl_Guser_prop_mutex_ptr(NULL)) #undef PL_utf8_charname_begin |