summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-12-19 11:23:22 -0700
committerKarl Williamson <khw@cpan.org>2016-12-23 22:36:34 -0700
commit607313a19740cb756ab98d5e58e6040ea8c125d4 (patch)
tree28930cd8ee7a43fc6222032650ae951a5162b04d /utf8.h
parenta1a5ec35e6a3df0994b103aadb28a8c1a3a278da (diff)
downloadperl-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/utf8.h b/utf8.h
index 4134ed82d9..0fbe4b79d0 100644
--- a/utf8.h
+++ b/utf8.h
@@ -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)