diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-10 10:59:04 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-15 10:39:56 -0600 |
commit | 1376b35c0aca7ec6b61283ddea3aa1c58bcb88de (patch) | |
tree | de98573569fff0a6aac64df6ae61c9c917137437 /utf8.h | |
parent | c9182d9cfe39bfb5131aaf232745d5856cbf79eb (diff) | |
download | perl-1376b35c0aca7ec6b61283ddea3aa1c58bcb88de.tar.gz |
Strip leading underscore from is_utf8_char_helper()
Leading underscored name are reserved for the C implementers
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -851,14 +851,14 @@ fit in an IV on the current machine. && ( NATIVE_UTF8_TO_I8(*(s)) > 0xF9 \ || (NATIVE_UTF8_TO_I8(*((s) + 1)) >= 0xA2)) \ && LIKELY((s) + UTF8SKIP(s) <= (e))) \ - ? _is_utf8_char_helper(s, s + UTF8SKIP(s), 0) : 0) + ? is_utf8_char_helper(s, s + UTF8SKIP(s), 0) : 0) #else # define UTF8_IS_SUPER(s, e) \ (( LIKELY((e) > (s) + 3) \ && (*(U8*) (s)) >= 0xF4 \ && ((*(U8*) (s)) > 0xF4 || (*((U8*) (s) + 1) >= 0x90))\ && LIKELY((s) + UTF8SKIP(s) <= (e))) \ - ? _is_utf8_char_helper(s, s + UTF8SKIP(s), 0) : 0) + ? is_utf8_char_helper(s, s + UTF8SKIP(s), 0) : 0) #endif /* These are now machine generated, and the 'given' clause is no longer @@ -1029,7 +1029,7 @@ L</is_utf8_string_loclen_flags> to check entire strings. ? 1 \ : UNLIKELY(((e) - (s)) < UTF8SKIP(s)) \ ? 0 \ - : _is_utf8_char_helper(s, e, flags)) + : is_utf8_char_helper(s, e, flags)) /* Do not use; should be deprecated. Use isUTF8_CHAR() instead; this is * retained solely for backwards compatibility */ |