summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-08-15 16:11:04 -0600
committerKarl Williamson <khw@cpan.org>2019-02-14 22:12:44 -0700
commitdd52e3cc434f4c6a495379f06a99d35da217eecb (patch)
tree9ef681fd341f3f879f78d87f14eff767c460aa9e /perlapi.h
parent8310e7fa48c5bce320e9c36df267f587d84cebce (diff)
downloadperl-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 6d8ebf8b24..f08bd60a42 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -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