From 7dbf68d2396b16bcbba2780133a8c8aa3b172884 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 20 Dec 2012 09:29:36 -0700 Subject: Create internal _is_utf8_mark() This is so we can deprecate non-core use of the existing one in a future commit. XS coders should be using the macros in handy.h instead of calling such functions directly. A future commit will deprecate all of them, but first the core uses of this one must change so they don't generate deprecation messages. I will not have a chance to look for some time, but I suspect that most uses of this function in the core should be changed to use something else, but in the meantime, the non-core uses can be deprecated. --- embed.h | 1 + 1 file changed, 1 insertion(+) (limited to 'embed.h') diff --git a/embed.h b/embed.h index 6c0eaa70c6..89dca3c19d 100644 --- a/embed.h +++ b/embed.h @@ -30,6 +30,7 @@ #define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b) #define _is_uni_perl_idstart(a) Perl__is_uni_perl_idstart(aTHX_ a) #define _is_utf8_FOO(a,b) Perl__is_utf8_FOO(aTHX_ a,b) +#define _is_utf8_mark(a) Perl__is_utf8_mark(aTHX_ a) #define _is_utf8_perl_idstart(a) Perl__is_utf8_perl_idstart(aTHX_ a) #define _to_uni_fold_flags(a,b,c,d) Perl__to_uni_fold_flags(aTHX_ a,b,c,d) #define _to_utf8_fold_flags(a,b,c,d,e) Perl__to_utf8_fold_flags(aTHX_ a,b,c,d,e) -- cgit v1.2.1