This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlglossary: Add defn for "code point"
[perl5.git] / util.h
diff --git a/util.h b/util.h
index 6eab055..3981656 100644 (file)
--- a/util.h
+++ b/util.h
 #endif         /* VMS */
 
 /*
+=for apidoc ibcmp
+
+This is a synonym for (! foldEQ())
+
+=for apidoc ibcmp_locale
+
+This is a synonym for (! foldEQ_locale())
+
+=cut
+*/
+#define ibcmp(s1, s2, len)         cBOOL(! foldEQ(s1, s2, len))
+#define ibcmp_locale(s1, s2, len)  cBOOL(! foldEQ_locale(s1, s2, len))
+
+
+/*
  * Local variables:
  * c-indentation-style: bsd
  * c-basic-offset: 4