summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2019-11-11 15:49:58 +0000
committerDavid Mitchell <davem@iabyn.com>2019-11-18 09:34:40 +0000
commitdc37125bb824744e1f528311ca37da59913cda7d (patch)
tree806df16eed1b338b85f3d9e0df59090b3e54576d /perlapi.h
parentddb513d51f5efcde057dad7932a56643647947e1 (diff)
downloadperl-dc37125bb824744e1f528311ca37da59913cda7d.tar.gz
add explicit 1-arg and 3-arg sig handler functions
Currently, whether the OS-level signal handler function is declared as 1-arg or 3-arg depends on the configuration. Add explicit versions of these functions, principally so that POSIX.xs can call which version of the handler it wants regardless of configuration: see next commit.
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 2cf7ce23fe..8b74919f31 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -139,6 +139,10 @@ END_EXTERN_C
#define PL_check (*Perl_Gcheck_ptr(NULL))
#undef PL_check_mutex
#define PL_check_mutex (*Perl_Gcheck_mutex_ptr(NULL))
+#undef PL_csighandler1p
+#define PL_csighandler1p (*Perl_Gcsighandler1p_ptr(NULL))
+#undef PL_csighandler3p
+#define PL_csighandler3p (*Perl_Gcsighandler3p_ptr(NULL))
#undef PL_csighandlerp
#define PL_csighandlerp (*Perl_Gcsighandlerp_ptr(NULL))
#undef PL_curinterp