summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-02 10:43:33 -0700
committerKarl Williamson <khw@cpan.org>2018-02-07 11:19:13 -0700
commitbb07812ea6cbac9162a7e3f9537c709ca57d4e57 (patch)
tree788aaf03b584466e651b9b51d39ef30657cf4bfd /proto.h
parent1848346ffa44e6cc26b51a9cc2ef878e44ae3dd8 (diff)
downloadperl-bb07812ea6cbac9162a7e3f9537c709ca57d4e57.tar.gz
utf8.c: Extract code into separate function
This is in preparation for the next commit which will use this code in multiple places
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 485211540b..2e3f9653c4 100644
--- a/proto.h
+++ b/proto.h
@@ -5992,6 +5992,11 @@ PERL_STATIC_INLINE int S_is_utf8_overlong_given_start_byte_ok(const U8 * const s
assert(s)
#endif
+STATIC HV * S_new_msg_hv(pTHX_ const char * const message, U32 categories, U32 flag)
+ __attribute__warn_unused_result__;
+#define PERL_ARGS_ASSERT_NEW_MSG_HV \
+ assert(message)
+
STATIC U8* S_swash_scan_list_line(pTHX_ U8* l, U8* const lend, UV* min, UV* max, UV* val, const bool wants_value, const U8* const typestr)
__attribute__warn_unused_result__;
#define PERL_ARGS_ASSERT_SWASH_SCAN_LIST_LINE \