summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-08-26 13:35:28 -0600
committerKarl Williamson <khw@cpan.org>2016-08-31 20:32:35 -0600
commit8871a094916837597c6a703c2e1b2306314df4fa (patch)
tree4cb3c73457238950fee9f8472683b570934bd763 /embed.fnc
parente950ecba8e797ce46fe4f568b0f08811002f3d95 (diff)
downloadperl-8871a094916837597c6a703c2e1b2306314df4fa.tar.gz
Add new synonym 'is_utf8_invariant_string'
This is clearer as to its meaning than the existing 'is_ascii_string' and 'is_invariant_string', which are retained for back compat. The thread context variable is removed as it is not used.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index a6a4c19552..0af2fae7bf 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -731,8 +731,9 @@ ADMpPR |bool |is_uni_lower_lc|UV c
ADMpPR |bool |is_uni_print_lc|UV c
ADMpPR |bool |is_uni_punct_lc|UV c
ADMpPR |bool |is_uni_xdigit_lc|UV c
-AnpdR |bool |is_invariant_string|NN const U8 *s|STRLEN len
-AmpdR |bool |is_ascii_string|NN const U8 *s|STRLEN len
+AnpdR |bool |is_utf8_invariant_string|NN const U8 *s|STRLEN len
+AmnpdR |bool |is_ascii_string|NN const U8 *s|STRLEN len
+AmnpdR |bool |is_invariant_string|NN const U8 *s|STRLEN len
AnpdD |STRLEN |is_utf8_char |NN const U8 *s
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