summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-06 17:50:23 -0700
committerKarl Williamson <khw@cpan.org>2019-03-07 13:14:26 -0700
commit21c34e9717de1e37a5e25d2e7d748da66c781488 (patch)
tree86ce71d42ceff26db39bfd0c754a2aa45197da2b /perlapi.h
parentb37d10f658c300104241001e3f5de1f31d62b22f (diff)
downloadperl-21c34e9717de1e37a5e25d2e7d748da66c781488.tar.gz
Add hook for Unicode private use override
I am starting to write a Unicode::Private_Use module which will allow one to specify the Unicode properties of private use code points, thus making them actually useful. This commit adds a hook to regcomp.c to accommodate this module. The changes are pretty minimal. This way we don't have to wait another release cycle to get it out there. I don't want to document this interface, until it's proven.
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 66f5ac5f73..4cfbafecdf 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -123,6 +123,8 @@ END_EXTERN_C
#define PL_NonFinalFold (*Perl_GNonFinalFold_ptr(NULL))
#undef PL_Posix_ptrs
#define PL_Posix_ptrs (*Perl_GPosix_ptrs_ptr(NULL))
+#undef PL_Private_Use
+#define PL_Private_Use (*Perl_GPrivate_Use_ptr(NULL))
#undef PL_SB_invlist
#define PL_SB_invlist (*Perl_GSB_invlist_ptr(NULL))
#undef PL_SCX_invlist