summaryrefslogtreecommitdiff
path: root/perlapi.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 /perlapi.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 'perlapi.h')
-rw-r--r--perlapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 098bd915db..80425c368c 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -103,6 +103,8 @@ END_EXTERN_C
#define PL_appctx (*Perl_Gappctx_ptr(NULL))
#undef PL_check
#define PL_check (*Perl_Gcheck_ptr(NULL))
+#undef PL_check_mutex
+#define PL_check_mutex (*Perl_Gcheck_mutex_ptr(NULL))
#undef PL_csighandlerp
#define PL_csighandlerp (*Perl_Gcsighandlerp_ptr(NULL))
#undef PL_curinterp