summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-14 14:16:19 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:56 -0600
commit9c10ff02ede505e07dd601a89271a2e3e5e79b52 (patch)
tree1eb49d5c87b5258f271b25f07df176d7fc379429 /proto.h
parent2f4e63396c17fcbf39095377d005faf7efd2b341 (diff)
downloadperl-9c10ff02ede505e07dd601a89271a2e3e5e79b52.tar.gz
perlapi: Properly document Perl_custom_op_xop()
It requires the prefix and a thread context parameter.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index cd6ab6e8b4..85ca5d0ccc 100644
--- a/proto.h
+++ b/proto.h
@@ -68,6 +68,8 @@ PERL_CALLCONV int Perl_PerlLIO_open_cloexec(pTHX_ const char *file, int flag)
#define PERL_ARGS_ASSERT_PERLLIO_OPEN_CLOEXEC \
assert(file)
+/* PERL_CALLCONV const XOP * Perl_custom_op_xop(pTHX_ const OP *o); */
+#define PERL_ARGS_ASSERT_PERL_CUSTOM_OP_XOP
PERL_CALLCONV const char* Perl_setlocale(const int category, const char* locale);
#define PERL_ARGS_ASSERT_PERL_SETLOCALE
#ifndef PERL_NO_INLINE_FUNCTIONS
@@ -755,8 +757,6 @@ PERL_CALLCONV const char * Perl_custom_op_name(pTHX_ const OP *o)
PERL_CALLCONV void Perl_custom_op_register(pTHX_ Perl_ppaddr_t ppaddr, const XOP *xop);
#define PERL_ARGS_ASSERT_CUSTOM_OP_REGISTER \
assert(ppaddr); assert(xop)
-/* PERL_CALLCONV const XOP * Perl_custom_op_xop(pTHX_ const OP *o); */
-#define PERL_ARGS_ASSERT_CUSTOM_OP_XOP
PERL_CALLCONV void Perl_cv_ckproto_len_flags(pTHX_ const CV* cv, const GV* gv, const char* p, const STRLEN len, const U32 flags);
#define PERL_ARGS_ASSERT_CV_CKPROTO_LEN_FLAGS \
assert(cv)