From e8570548af49b057631f1011e4b19c8c4a1342dd Mon Sep 17 00:00:00 2001 From: Zefram Date: Sat, 11 Feb 2012 11:05:51 +0000 Subject: add wrap_op_checker() API function This function provides a convenient and thread-safe way for modules to hook op checking. --- perlapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perlapi.h') 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 -- cgit v1.2.1