summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-12-06 21:55:21 -0700
committerKarl Williamson <khw@cpan.org>2017-12-07 22:12:26 -0700
commit622f12e7bd41745fa3ac9d2fe4a4d61d1444e9dc (patch)
tree9ec029f6ab7d5a56e5d0fdf493c0f25f152c8cdd /embed.fnc
parent9fecf4c85595418554dbd74f8c291be1758bc56c (diff)
downloadperl-622f12e7bd41745fa3ac9d2fe4a4d61d1444e9dc.tar.gz
utf8_length() is not a pure function
Because it can output warnings.
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 a1678ec2c3..bfbc63af5a 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1801,7 +1801,7 @@ ApM |void |_force_out_malformed_utf8_message \
|const bool die_here
EXp |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
EXp |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
-AdpPR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
+AdpR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
AipdR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
AipdRn |U8* |utf8_hop |NN const U8 *s|SSize_t off
AipdRn |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start