summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-03 22:14:22 -0700
committerKarl Williamson <khw@cpan.org>2018-02-07 11:19:14 -0700
commit33f38593a187f963d7c347cd8125ddce79cccd5c (patch)
tree4a2859986171de3582240a4c540617fc66256baa /proto.h
parent50f3d1063eaf7bc0b5db35dda5b1b3567b931a5b (diff)
downloadperl-33f38593a187f963d7c347cd8125ddce79cccd5c.tar.gz
Add uvchr_to_utf8_flags_msgs()
This is propmpted by Encode's needs. When called with the proper parameter, it returns any warnings instead of displaying them directly.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 2e3f9653c4..9f6d0df7ff 100644
--- a/proto.h
+++ b/proto.h
@@ -3677,9 +3677,13 @@ PERL_CALLCONV void Perl_utilize(pTHX_ int aver, I32 floor, OP* version, OP* idop
assert(idop)
/* PERL_CALLCONV U8* uvchr_to_utf8(pTHX_ U8 *d, UV uv); */
/* PERL_CALLCONV U8* uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); */
+/* PERL_CALLCONV U8* uvchr_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, UV flags, HV ** msgs); */
PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, const UV flags);
#define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS \
assert(d)
+PERL_CALLCONV U8* Perl_uvoffuni_to_utf8_flags_msgs(pTHX_ U8 *d, UV uv, const UV flags, HV** msgs);
+#define PERL_ARGS_ASSERT_UVOFFUNI_TO_UTF8_FLAGS_MSGS \
+ assert(d)
PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
#define PERL_ARGS_ASSERT_UVUNI_TO_UTF8 \
assert(d)