summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-06-05 21:06:12 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-07 14:35:25 +0000
commit768c67ee6ae82fc2dd99a9dd06708f0a0cc097cb (patch)
tree2c7376ce53618bad206d31f088eae62bba0e59c2 /utf8.h
parente07360faf0e39eb99a2f8007e291aab60c228731 (diff)
downloadperl-768c67ee6ae82fc2dd99a9dd06708f0a0cc097cb.tar.gz
one more round of is_utf8_foo tuneup
Message-ID: <42A314E4.8060608@gmail.com> p4raw-id: //depot/perl@24730
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index fb44c8576c..c8bcb361fd 100644
--- a/utf8.h
+++ b/utf8.h
@@ -327,3 +327,5 @@ encoded character.
(n) == 3 ? IS_UTF8_CHAR_3(p) : \
(n) == 4 ? IS_UTF8_CHAR_4(p) : 0)
+#define IS_UTF8_CHAR_FAST(n) ((n) <= 4)
+