summaryrefslogtreecommitdiff
path: root/embedvar.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 /embedvar.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 'embedvar.h')
-rw-r--r--embedvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 79f5bd04d3..705be5ddf2 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -468,6 +468,10 @@
#define PL_Gtimesbase (my_vars->Gtimesbase)
#define PL_use_safe_putenv (my_vars->Guse_safe_putenv)
#define PL_Guse_safe_putenv (my_vars->Guse_safe_putenv)
+#define PL_user_def_props (my_vars->Guser_def_props)
+#define PL_Guser_def_props (my_vars->Guser_def_props)
+#define PL_user_def_props_aTHX (my_vars->Guser_def_props_aTHX)
+#define PL_Guser_def_props_aTHX (my_vars->Guser_def_props_aTHX)
#define PL_user_prop_mutex (my_vars->Guser_prop_mutex)
#define PL_Guser_prop_mutex (my_vars->Guser_prop_mutex)
#define PL_utf8_charname_begin (my_vars->Gutf8_charname_begin)