From 21c34e9717de1e37a5e25d2e7d748da66c781488 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 6 Mar 2019 17:50:23 -0700 Subject: 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. --- perlapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perlapi.h') 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 -- cgit v1.2.1