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
commit059ebda22b349c36caf0bba6d56a0ae3229899a1 (patch)
tree0f8dd6b0afb48396747581babd0d2b6f0c053180 /utf8.h
parentd3454d096b1316150d6323306817b7855bb50372 (diff)
downloadperl-059ebda22b349c36caf0bba6d56a0ae3229899a1.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 : \