summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-18 22:50:28 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-18 22:50:28 +0000
commitb76347f2eb34c85a0a38543b2f57ca474fedab4d (patch)
tree31cc323c41bcb1ac42ff13659898c6589d43cf19 /embed.pl
parent5a2dd41731da4a994683b80fc75b362161912f47 (diff)
downloadperl-b76347f2eb34c85a0a38543b2f57ca474fedab4d.tar.gz
Introduce Perl_utf8_length(). Use it.
p4raw-id: //depot/perl@7744
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.pl b/embed.pl
index a19c4398c0..b8abef3a58 100755
--- a/embed.pl
+++ b/embed.pl
@@ -2070,6 +2070,7 @@ p |void |unshare_hek |HEK* hek
p |void |utilize |int aver|I32 floor|OP* version|OP* id|OP* arg
Ap |U8* |utf16_to_utf8 |U8* p|U8 *d|I32 bytelen|I32 *newlen
Ap |U8* |utf16_to_utf8_reversed|U8* p|U8 *d|I32 bytelen|I32 *newlen
+Ap |STRLEN |utf8_length |U8* s|U8 *e
Ap |I32 |utf8_distance |U8 *a|U8 *b
Ap |U8* |utf8_hop |U8 *s|I32 off
ApM |U8* |utf8_to_bytes |U8 *s|STRLEN *len