diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-10-16 12:38:58 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-10-17 21:52:16 -0600 |
commit | 18f762c3fc05b01f683e8eefc830106deeb0df8f (patch) | |
tree | 2e2822fb5fd51da51523bb54ba4b53f250ae52c1 /utf8.h | |
parent | 85514a3470928b4c673195c2db9e5f567341b656 (diff) | |
download | perl-18f762c3fc05b01f683e8eefc830106deeb0df8f.tar.gz |
utf8.c: Add 'input pre-folded' flags to foldEQ_utf8_flags
This adds flags so that if one of the input strings is known to already
have been folded, this routine can skip the (redundant) folding step.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,8 @@ foldEQ_utf8_flags(s1, pe1, l1, u1, s2, pe2, l2, u2, 0) #define FOLDEQ_UTF8_NOMIX_ASCII (1 << 0) #define FOLDEQ_UTF8_LOCALE (1 << 1) +#define FOLDEQ_S1_ALREADY_FOLDED (1 << 2) +#define FOLDEQ_S2_ALREADY_FOLDED (1 << 3) /* =for apidoc ibcmp_utf8 |