X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=utf8.h;h=64dc393020a785b5550a1aa5c8f8143ac48b3cf6;hb=74ac850a5ee417afa60a477ea52af7a8f46a7e5a;hp=d1989ecc881f5c80a403b3cc1156ba6757c24ed5;hpb=979f29225180f8c09f4adec52f850ae45694fd81;p=p5sagit%2Fp5-mst-13.2.git diff --git a/utf8.h b/utf8.h index d1989ec..64dc393 100644 --- a/utf8.h +++ b/utf8.h @@ -16,12 +16,17 @@ # define USE_UTF8_IN_NAMES (PL_hints & HINT_UTF8) #endif +/* Source backward compatibility. */ +#define uvuni_to_utf8(d, uv) uvuni_to_utf8_flags(d, uv, 0) +#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0) + #ifdef EBCDIC /* The equivalent of these macros but implementing UTF-EBCDIC are in the following header file: */ #include "utfebcdic.h" + #else START_EXTERN_C @@ -332,7 +337,4 @@ encoded character. #define IS_UTF8_CHAR_FAST(n) ((n) <= 4) -#define uvuni_to_utf8(d, uv) uvuni_to_utf8_flags(d, uv, 0) -#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0) - #endif /* IS_UTF8_CHAR() for UTF-8 */