diff options
author | Karl Williamson <khw@cpan.org> | 2020-07-18 09:54:32 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-08-22 20:42:41 -0600 |
commit | 1c4bbd057e49321bed6492cd6c3f953b24eabe79 (patch) | |
tree | ee6d34dc2c89011ba76edb3638e0543a48a34fdf /util.h | |
parent | d80a3ab29a1f46ab0ae2916785ba2ab49dbddd7b (diff) | |
download | perl-1c4bbd057e49321bed6492cd6c3f953b24eabe79.tar.gz |
Document ibcmp_utf8, and move to like-fcns hdr
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |