summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-13 17:27:48 -0600
committerKarl Williamson <khw@cpan.org>2015-08-01 10:34:50 -0600
commit2a70536ef492d7fd0a8c857eecc3f2d6fe143728 (patch)
tree0d58af4ac96c1e1952563f4b2b37168bc67f21f3 /utf8.h
parent80bfb4dc0e64adaa83033faf88835c4c45ea7a90 (diff)
downloadperl-2a70536ef492d7fd0a8c857eecc3f2d6fe143728.tar.gz
utf8.h: Add UTF8_SKIP as a synonym for UTF8SKIP
Most of the other names in utf8.h have an underscore; this allows someone to keep things consistent in their code.
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index 19e5d964c7..3e6e409e87 100644
--- a/utf8.h
+++ b/utf8.h
@@ -367,7 +367,8 @@ only) byte is pointed to by C<s>.
=cut
*/
-#define UTF8SKIP(s) PL_utf8skip[*(const U8*)(s)]
+#define UTF8SKIP(s) PL_utf8skip[*(const U8*)(s)]
+#define UTF8_SKIP(s) UTF8SKIP(s)
/* Is the byte 'c' the same character when encoded in UTF-8 as when not. This
* works on both UTF-8 encoded strings and non-encoded, as it returns TRUE in