diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-30 17:49:27 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-30 17:49:27 +0000 |
commit | 814fafa7eb0f558ee6baaa3044451757580d60bf (patch) | |
tree | 1b4dd41fa6f3088871efda4841fd681eeb36933e /utf8.h | |
parent | e3e4599ff44c1df42108810b2a899156903b540a (diff) | |
download | perl-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |