summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2012-02-11 11:05:51 +0000
committerZefram <zefram@fysh.org>2012-02-11 11:05:51 +0000
commite8570548af49b057631f1011e4b19c8c4a1342dd (patch)
tree250e8d72a232028036906cd58757ad4f86da886c /proto.h
parent96a6e6fa4fb95146d6ef6deb911128ac757e1550 (diff)
downloadperl-e8570548af49b057631f1011e4b19c8c4a1342dd.tar.gz
add wrap_op_checker() API function
This function provides a convenient and thread-safe way for modules to hook op checking.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 77746f72b2..d2022d549d 100644
--- a/proto.h
+++ b/proto.h
@@ -4711,6 +4711,12 @@ PERL_CALLCONV I32 Perl_whichsig_sv(pTHX_ SV* sigsv)
#define PERL_ARGS_ASSERT_WHICHSIG_SV \
assert(sigsv)
+PERL_CALLCONV void Perl_wrap_op_checker(pTHX_ Optype opcode, Perl_check_t new_checker, Perl_check_t *old_checker_p)
+ __attribute__nonnull__(pTHX_2)
+ __attribute__nonnull__(pTHX_3);
+#define PERL_ARGS_ASSERT_WRAP_OP_CHECKER \
+ assert(new_checker); assert(old_checker_p)
+
PERL_CALLCONV void Perl_write_to_stderr(pTHX_ SV* msv)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_WRITE_TO_STDERR \