diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-29 15:16:24 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-29 16:15:04 -0600 |
commit | 059703b088f44d5665f67fba0b9d80cad89085fd (patch) | |
tree | cb1476aaa49d11e578241570f827dd09a174c34e /utf8.h | |
parent | c81b356276ad1b4b6fb656acd9ab9b8797afd694 (diff) | |
download | perl-059703b088f44d5665f67fba0b9d80cad89085fd.tar.gz |
Remove deprecated character classification/case changing macros
It has been deprecated since 5.26 to use various macros that deal with
UTF-8 inputs but don't have a parameter indicating the maximum length
beyond which we should not look. This commit changes all such macros,
as threatened in existing documentation and warning messages, to have an
extra parameter giving the length.
This was originally scheduled to happen in 5.30, but was delayed because
it broke some CPAN modules, and there wasn't really a good way around
it. But now that Devel::PPPort 3.54 is out, ppport.h has new facilities
for getting modules making these changes to work with older Perl
releases.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -77,15 +77,6 @@ the string is invariant. #define to_uni_fold(c, p, lenp) _to_uni_fold_flags(c, p, lenp, FOLD_FLAGS_FULL) -#define to_utf8_fold(s, r, lenr) \ - _to_utf8_fold_flags (s, NULL, r, lenr, FOLD_FLAGS_FULL, __FILE__, __LINE__) -#define to_utf8_lower(s, r, lenr) \ - _to_utf8_lower_flags(s, NULL, r ,lenr, 0, __FILE__, __LINE__) -#define to_utf8_upper(s, r, lenr) \ - _to_utf8_upper_flags(s, NULL, r, lenr, 0, __FILE__, __LINE__) -#define to_utf8_title(s, r, lenr) \ - _to_utf8_title_flags(s, NULL, r, lenr ,0, __FILE__, __LINE__) - #define foldEQ_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2) \ foldEQ_utf8_flags(s1, pe1, l1, u1, s2, pe2, l2, u2, 0) #define FOLDEQ_UTF8_NOMIX_ASCII (1 << 0) |