diff options
author | Karl Williamson <khw@cpan.org> | 2014-05-05 22:41:14 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-05-31 11:52:32 -0600 |
commit | 3cedd9d93070bd6f0cb074a3013165cd9a630fca (patch) | |
tree | fecd55cd9272e99b60d415793e44feef7a51f1ef /proto.h | |
parent | 5dca92787911972e6827cbb3173c9b1f44ea8613 (diff) | |
download | perl-3cedd9d93070bd6f0cb074a3013165cd9a630fca.tar.gz |
Make is_utf8_char_buf() a macro
This function is now more efficiently implemented as a synonym for
isUTF8_CHAR(). We retain the Perl_is_utf8_char_buf() function for code
that calls it that way.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1992,9 +1992,9 @@ PERL_CALLCONV STRLEN Perl_is_utf8_char(const U8 *s) #define PERL_ARGS_ASSERT_IS_UTF8_CHAR \ assert(s) -PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end) +/* PERL_CALLCONV STRLEN Perl_is_utf8_char_buf(const U8 *buf, const U8 *buf_end) __attribute__nonnull__(1) - __attribute__nonnull__(2); + __attribute__nonnull__(2); */ #define PERL_ARGS_ASSERT_IS_UTF8_CHAR_BUF \ assert(buf); assert(buf_end) |