diff options
author | Karl Williamson <khw@cpan.org> | 2015-05-13 17:27:48 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-08-01 10:34:50 -0600 |
commit | 2a70536ef492d7fd0a8c857eecc3f2d6fe143728 (patch) | |
tree | 0d58af4ac96c1e1952563f4b2b37168bc67f21f3 /utf8.h | |
parent | 80bfb4dc0e64adaa83033faf88835c4c45ea7a90 (diff) | |
download | perl-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |