summaryrefslogtreecommitdiff
path: root/embedvar.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 /embedvar.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 'embedvar.h')
-rw-r--r--embedvar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 95550e6d60..7748218c6d 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -418,6 +418,7 @@
#define PL_utf8_print (PERL_GET_INTERP->Iutf8_print)
#define PL_utf8_punct (PERL_GET_INTERP->Iutf8_punct)
#define PL_utf8_space (PERL_GET_INTERP->Iutf8_space)
+#define PL_utf8_tofold (PERL_GET_INTERP->Iutf8_tofold)
#define PL_utf8_tolower (PERL_GET_INTERP->Iutf8_tolower)
#define PL_utf8_totitle (PERL_GET_INTERP->Iutf8_totitle)
#define PL_utf8_toupper (PERL_GET_INTERP->Iutf8_toupper)
@@ -710,6 +711,7 @@
#define PL_utf8_print (vTHX->Iutf8_print)
#define PL_utf8_punct (vTHX->Iutf8_punct)
#define PL_utf8_space (vTHX->Iutf8_space)
+#define PL_utf8_tofold (vTHX->Iutf8_tofold)
#define PL_utf8_tolower (vTHX->Iutf8_tolower)
#define PL_utf8_totitle (vTHX->Iutf8_totitle)
#define PL_utf8_toupper (vTHX->Iutf8_toupper)
@@ -1005,6 +1007,7 @@
#define PL_Iutf8_print PL_utf8_print
#define PL_Iutf8_punct PL_utf8_punct
#define PL_Iutf8_space PL_utf8_space
+#define PL_Iutf8_tofold PL_utf8_tofold
#define PL_Iutf8_tolower PL_utf8_tolower
#define PL_Iutf8_totitle PL_utf8_totitle
#define PL_Iutf8_toupper PL_utf8_toupper