diff options
author | Karl Williamson <khw@cpan.org> | 2021-06-30 18:21:16 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-14 09:44:58 -0600 |
commit | 6af810c44554f309acce080a8c3d2ebefa0eb965 (patch) | |
tree | 78ca4fd1f6bffd7f9dc7aa0eb4eb67e37e5eabc9 /proto.h | |
parent | 5fd26678bf8c8b48b9fdad829c928780cd445d2e (diff) | |
download | perl-6af810c44554f309acce080a8c3d2ebefa0eb965.tar.gz |
Add utf8_to_utf16
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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__; |