summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-30 18:21:16 -0600
committerKarl Williamson <khw@cpan.org>2021-08-14 09:44:58 -0600
commit6af810c44554f309acce080a8c3d2ebefa0eb965 (patch)
tree78ca4fd1f6bffd7f9dc7aa0eb4eb67e37e5eabc9 /proto.h
parent5fd26678bf8c8b48b9fdad829c928780cd445d2e (diff)
downloadperl-6af810c44554f309acce080a8c3d2ebefa0eb965.tar.gz
Add utf8_to_utf16
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index dc9fff0ef2..164f6be670 100644
--- a/proto.h
+++ b/proto.h
@@ -4048,6 +4048,9 @@ PERL_CALLCONV STRLEN Perl_utf8_length(pTHX_ const U8* s, const U8 *e)
PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *lenp);
#define PERL_ARGS_ASSERT_UTF8_TO_BYTES \
assert(s); assert(lenp)
+PERL_CALLCONV U8* Perl_utf8_to_utf16_base(pTHX_ U8* s, U8 *d, Size_t bytelen, Size_t *newlen, const bool high, const bool low);
+#define PERL_ARGS_ASSERT_UTF8_TO_UTF16_BASE \
+ assert(s); assert(d); assert(newlen)
#ifndef NO_MATHOMS
PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
__attribute__deprecated__;