diff options
author | Karl Williamson <khw@cpan.org> | 2021-06-26 19:57:03 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-07 05:14:44 -0600 |
commit | 58b66e89ba80b4f91ff12da18da1301aa182a687 (patch) | |
tree | db91351c2e183774b4b816c78fd842d73872bc98 /embed.h | |
parent | 527347e0493f4ee24d63df996fd6616806422d17 (diff) | |
download | perl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |