diff options
author | David Mitchell <davem@iabyn.com> | 2019-11-11 15:49:58 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-11-18 09:34:40 +0000 |
commit | dc37125bb824744e1f528311ca37da59913cda7d (patch) | |
tree | 806df16eed1b338b85f3d9e0df59090b3e54576d /embedvar.h | |
parent | ddb513d51f5efcde057dad7932a56643647947e1 (diff) | |
download | perl-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 'embedvar.h')
-rw-r--r-- | embedvar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h index d0d281ce58..2f96743593 100644 --- a/embedvar.h +++ b/embedvar.h @@ -272,6 +272,8 @@ #define PL_setlocale_bufsize (vTHX->Isetlocale_bufsize) #define PL_sharehook (vTHX->Isharehook) #define PL_sig_pending (vTHX->Isig_pending) +#define PL_sighandler1p (vTHX->Isighandler1p) +#define PL_sighandler3p (vTHX->Isighandler3p) #define PL_sighandlerp (vTHX->Isighandlerp) #define PL_signalhook (vTHX->Isignalhook) #define PL_signals (vTHX->Isignals) @@ -382,6 +384,10 @@ #define PL_Gcheck (my_vars->Gcheck) #define PL_check_mutex (my_vars->Gcheck_mutex) #define PL_Gcheck_mutex (my_vars->Gcheck_mutex) +#define PL_csighandler1p (my_vars->Gcsighandler1p) +#define PL_Gcsighandler1p (my_vars->Gcsighandler1p) +#define PL_csighandler3p (my_vars->Gcsighandler3p) +#define PL_Gcsighandler3p (my_vars->Gcsighandler3p) #define PL_csighandlerp (my_vars->Gcsighandlerp) #define PL_Gcsighandlerp (my_vars->Gcsighandlerp) #define PL_curinterp (my_vars->Gcurinterp) |