summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-09-10 22:09:44 -0600
committerKarl Williamson <khw@cpan.org>2016-09-17 21:10:49 -0600
commit2b47960981adadbe81b9635d4ca7861c45ccdced (patch)
tree72c757864ba7463c7cb11c4e62d08343f8cc8a72 /embed.h
parentd566bd20c27a46aecd668d2f739b9515f46ac74f (diff)
downloadperl-2b47960981adadbe81b9635d4ca7861c45ccdced.tar.gz
Enhance and rename is_utf8_char_slow()
This changes the name of this helper function and adds a parameter and functionality to allow it to exclude problematic classes of code points, the same ones excludeable by utf8n_to_uvchar(), like surrogates or non-character code points.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 6a15a97a45..8ff1c93794 100644
--- a/embed.h
+++ b/embed.h
@@ -787,7 +787,7 @@
#define my_popen(a,b) Perl_my_popen(aTHX_ a,b)
#endif
#if !defined(PERL_NO_INLINE_FUNCTIONS)
-#define _is_utf8_char_slow Perl__is_utf8_char_slow
+#define _is_utf8_char_helper Perl__is_utf8_char_helper
#define append_utf8_from_native_byte S_append_utf8_from_native_byte
#define av_top_index(a) S_av_top_index(aTHX_ a)
#define cx_popblock(a) S_cx_popblock(aTHX_ a)