summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-02 05:18:45 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-02 05:18:45 +0000
commitb4e400f9f0f3998e635cdce0c2d2e790cbe42caa (patch)
treeb638c44345271b6f0f9020e6ccc262fb9c21b4c5 /embed.h
parent18e548ce1d77b525add551f80ef335f852cf9389 (diff)
downloadperl-b4e400f9f0f3998e635cdce0c2d2e790cbe42caa.tar.gz
Unicode: add ToFold mapping. Not used yet; but basically
a more useful mapping for caseless aka case-ignoring than doing either lc($a) eq lc($b) or uc($a) eq uc($b); the full algorithm for creating the foldings uses equivalence classes, see http://www.unicode.org/unicode/reports/tr21/ Hopefully this feature will be used in //i. (The folding tables were introduced by #12689.) p4raw-id: //depot/perl@12807
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 44ce7a6a4b..bef032d98a 100644
--- a/embed.h
+++ b/embed.h
@@ -725,6 +725,7 @@
#define to_utf8_lower Perl_to_utf8_lower
#define to_utf8_upper Perl_to_utf8_upper
#define to_utf8_title Perl_to_utf8_title
+#define to_utf8_fold Perl_to_utf8_fold
#if defined(UNLINK_ALL_VERSIONS)
#define unlnk Perl_unlnk
#endif
@@ -2238,6 +2239,7 @@
#define to_utf8_lower(a,b,c) Perl_to_utf8_lower(aTHX_ a,b,c)
#define to_utf8_upper(a,b,c) Perl_to_utf8_upper(aTHX_ a,b,c)
#define to_utf8_title(a,b,c) Perl_to_utf8_title(aTHX_ a,b,c)
+#define to_utf8_fold(a,b,c) Perl_to_utf8_fold(aTHX_ a,b,c)
#if defined(UNLINK_ALL_VERSIONS)
#define unlnk(a) Perl_unlnk(aTHX_ a)
#endif