summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-05-05 22:41:14 -0600
committerKarl Williamson <khw@cpan.org>2014-05-31 11:52:32 -0600
commit3cedd9d93070bd6f0cb074a3013165cd9a630fca (patch)
treefecd55cd9272e99b60d415793e44feef7a51f1ef /embed.fnc
parent5dca92787911972e6827cbb3173c9b1f44ea8613 (diff)
downloadperl-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 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 35756e401b..30b1087065 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -687,7 +687,7 @@ ADMpPR |bool |is_uni_punct_lc|UV c
ADMpPR |bool |is_uni_xdigit_lc|UV c
Anpd |bool |is_ascii_string|NN const U8 *s|STRLEN len
AnpdD |STRLEN |is_utf8_char |NN const U8 *s
-Anpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
+Abmnpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
Anpd |bool |is_utf8_string |NN const U8 *s|STRLEN len
Anpdmb |bool |is_utf8_string_loc|NN const U8 *s|STRLEN len|NULLOK const U8 **ep
Anpd |bool |is_utf8_string_loclen|NN const U8 *s|STRLEN len|NULLOK const U8 **ep|NULLOK STRLEN *el