summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:53:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:53:05 +0000
commit5bbb0b5ac8fdf0a5cc17b4f7b9199f9e3d7db4b6 (patch)
tree0f8dd6b0afb48396747581babd0d2b6f0c053180 /utf8.h
parent578ab924f3e518fcfbd81dbd57562c05a119f630 (diff)
downloadperl-5bbb0b5ac8fdf0a5cc17b4f7b9199f9e3d7db4b6.tar.gz
Rename UTF8LEN() to be UNISKIP(), too confusing to have
UTF8LEN() and UTF8SKIP(). p4raw-id: //depot/perl@7437
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index bb494ab1ef..548d8212f5 100644
--- a/utf8.h
+++ b/utf8.h
@@ -36,7 +36,7 @@ END_EXTERN_C
#define UTF8SKIP(s) PL_utf8skip[*(U8*)s]
#ifdef HAS_QUAD
-#define UTF8LEN(uv) ( (uv) < 0x80 ? 1 : \
+#define UNISKIP(uv) ( (uv) < 0x80 ? 1 : \
(uv) < 0x800 ? 2 : \
(uv) < 0x10000 ? 3 : \
(uv) < 0x200000 ? 4 : \
@@ -45,7 +45,7 @@ END_EXTERN_C
(uv) < 0x1000000000LL ? 7 : 13 )
#else
/* No, I'm not even going to *TRY* putting #ifdef inside a #define */
-#define UTF8LEN(uv) ( (uv) < 0x80 ? 1 : \
+#define UNISKIP(uv) ( (uv) < 0x80 ? 1 : \
(uv) < 0x800 ? 2 : \
(uv) < 0x10000 ? 3 : \
(uv) < 0x200000 ? 4 : \