diff options
author | Karl Williamson <khw@cpan.org> | 2016-12-19 11:23:22 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-12-23 22:36:34 -0700 |
commit | 607313a19740cb756ab98d5e58e6040ea8c125d4 (patch) | |
tree | 28930cd8ee7a43fc6222032650ae951a5162b04d /utf8.h | |
parent | a1a5ec35e6a3df0994b103aadb28a8c1a3a278da (diff) | |
download | perl-607313a19740cb756ab98d5e58e6040ea8c125d4.tar.gz |
Deprecate toFOO_utf8()
Now that there are _safe versions, deprecate the unsafe ones.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -78,13 +78,13 @@ 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) + _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) + _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) + _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) + _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) |