summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-30 17:49:27 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-30 17:49:27 +0000
commit814fafa7eb0f558ee6baaa3044451757580d60bf (patch)
tree1b4dd41fa6f3088871efda4841fd681eeb36933e /utf8.h
parente3e4599ff44c1df42108810b2a899156903b540a (diff)
downloadperl-814fafa7eb0f558ee6baaa3044451757580d60bf.tar.gz
Replace is_utf8_string_loc() with a macro that passes the extra 0
argument to is_utf8_string_loc(). Correct the description of its parameters in its POD. p4raw-id: //depot/perl@25903
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index 4599407090..9546fe8486 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1,6 +1,6 @@
/* utf8.h
*
- * Copyright (C) 2000, 2001, 2002, by Larry Wall and others
+ * Copyright (C) 2000, 2001, 2002, 2005 by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -332,4 +332,6 @@ encoded character.
#define IS_UTF8_CHAR_FAST(n) ((n) <= 4)
+#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0)
+
#endif /* IS_UTF8_CHAR() for UTF-8 */