summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-26 19:57:03 -0600
committerKarl Williamson <khw@cpan.org>2021-08-07 05:14:44 -0600
commit58b66e89ba80b4f91ff12da18da1301aa182a687 (patch)
treedb91351c2e183774b4b816c78fd842d73872bc98 /embed.h
parent527347e0493f4ee24d63df996fd6616806422d17 (diff)
downloadperl-58b66e89ba80b4f91ff12da18da1301aa182a687.tar.gz
Add helper function for longest UTF8 sequence
This specialized functionality is used to check the validity of Perl's extended-length UTF-8, which has some ideosyncratic characteristics from the shorter sequences. This means this function doesn't have to consider those differences. It will be used in the next commit to avoid some work, and to eventually enable is_utf8_char_helper() to be simplified.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index cece9a798c..4578848f7a 100644
--- a/embed.h
+++ b/embed.h
@@ -272,6 +272,7 @@
#define is_lvalue_sub() Perl_is_lvalue_sub(aTHX)
#define is_safe_syscall(a,b,c,d) Perl_is_safe_syscall(aTHX_ a,b,c,d)
#define is_strict_utf8_string_loclen Perl_is_strict_utf8_string_loclen
+#define is_utf8_FF_helper_ Perl_is_utf8_FF_helper_
#ifndef NO_MATHOMS
#define is_utf8_char Perl_is_utf8_char
#endif