summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-12 09:17:50 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-22 11:11:27 -0700
commit922e8cb4d0c8566afd151f6ffc58369c567e6407 (patch)
treebc5574211a6bc33cbf5940b74f865fdb3e200fab /embed.fnc
parent15861f948fe52aa0c72233cd9dfc0190bfa3fbb1 (diff)
downloadperl-922e8cb4d0c8566afd151f6ffc58369c567e6407.tar.gz
Add generic _is_(uni|utf8)_FOO() function
This function uses table lookup to replace 9 more specific functions, which can be deprecated. They should not have been exposed to the public API in the first place
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index a3ab8a2d5e..5af5c97109 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -658,6 +658,8 @@ Anpd |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
+AMpR |bool |_is_uni_FOO|const U8 classnum|const UV c
+AMpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p
AMpR |bool |is_utf8_alnum |NN const U8 *p
AMpR |bool |is_utf8_alnumc |NN const U8 *p
ADMpR |bool |is_utf8_idfirst|NN const U8 *p