summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-07-18 09:54:32 -0600
committerKarl Williamson <khw@cpan.org>2020-08-22 20:42:41 -0600
commit1c4bbd057e49321bed6492cd6c3f953b24eabe79 (patch)
treeee6d34dc2c89011ba76edb3638e0543a48a34fdf /util.h
parentd80a3ab29a1f46ab0ae2916785ba2ab49dbddd7b (diff)
downloadperl-1c4bbd057e49321bed6492cd6c3f953b24eabe79.tar.gz
Document ibcmp_utf8, and move to like-fcns hdr
Diffstat (limited to 'util.h')
-rw-r--r--util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/util.h b/util.h
index 6bf7d9ecde..12dfea8106 100644
--- a/util.h
+++ b/util.h
@@ -47,10 +47,16 @@ This is a synonym for S<C<(! foldEQ())>>
This is a synonym for S<C<(! foldEQ_locale())>>
+=for apidoc ibcmp_utf8
+
+This is a synonym for S<C<(! foldEQ_utf8())>>
+
=cut
*/
#define ibcmp(s1, s2, len) cBOOL(! foldEQ(s1, s2, len))
#define ibcmp_locale(s1, s2, len) cBOOL(! foldEQ_locale(s1, s2, len))
+#define ibcmp_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2) \
+ cBOOL(! foldEQ_utf8(s1, pe1, l1, u1, s2, pe2, l2, u2))
/* outside the core, perl.h undefs HAS_QUAD if IV isn't 64-bit
We can't swap this to HAS_QUAD, because the logic here affects the type of