summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-02-04 14:43:14 -0700
committerKarl Williamson <khw@cpan.org>2020-02-12 16:25:53 -0700
commit4e8ee35f1af746a63f71461d067e654dd9500dad (patch)
tree56b3be9c7b6afdd1b60524ab212d4df0f2b9e612 /proto.h
parent8b0cce633b11b264c9ba41dee3a81b89d8bdd8f5 (diff)
downloadperl-4e8ee35f1af746a63f71461d067e654dd9500dad.tar.gz
toke.c: Split code to load _charnames.pm into own fnc
This is in preparation for it being called from more than one place.
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 9110ed8765..4b8beabda2 100644
--- a/proto.h
+++ b/proto.h
@@ -1771,6 +1771,11 @@ PERL_CALLCONV void Perl_lex_unstuff(pTHX_ char* ptr);
assert(ptr)
PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
#define PERL_ARGS_ASSERT_LIST
+PERL_CALLCONV HV* Perl_load_charnames(pTHX_ SV * char_name, const char * context, const STRLEN context_len, const char ** error_msg)
+ __attribute__warn_unused_result__;
+#define PERL_ARGS_ASSERT_LOAD_CHARNAMES \
+ assert(char_name); assert(context); assert(error_msg)
+
PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...);
#define PERL_ARGS_ASSERT_LOAD_MODULE \
assert(name)