summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-12-29 11:01:59 -0700
committerKarl Williamson <khw@cpan.org>2014-12-29 13:52:57 -0700
commitd635b7101aac73db76a54016b58991ba7cd8d778 (patch)
tree52dd9b77dd758da1581989b12c45f8a6c03cd4cb /utf8.h
parent8bdce3944e3c1dd192c971851b33f718084e1942 (diff)
downloadperl-d635b7101aac73db76a54016b58991ba7cd8d778.tar.gz
foldEQ_utf8(): Add some internal flags
The comments explain their purpose
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index a9e662764d..aaf878cbff 100644
--- a/utf8.h
+++ b/utf8.h
@@ -75,6 +75,8 @@ than just the ASCII characters, so C<is_invariant_string> is preferred.
#define FOLDEQ_LOCALE (1 << 1)
#define FOLDEQ_S1_ALREADY_FOLDED (1 << 2)
#define FOLDEQ_S2_ALREADY_FOLDED (1 << 3)
+#define FOLDEQ_S1_FOLDS_SANE (1 << 4)
+#define FOLDEQ_S2_FOLDS_SANE (1 << 5)
#define ibcmp_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2) \
cBOOL(! foldEQ_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2))