expand let marshal's parameters
[m6w6/ext-psi] / m4 / signal.m4
index 8a0f1417546796e5239cc9c1746e4bb63a6ca95b..a9225ceb3fcc42297737985e6bb6bdeb7f9234af 100644 (file)
@@ -123,11 +123,14 @@ PSI_CHECK_SIGNAL() {
                int ss_flags]
        )
        
+       PSI_FUNCTOR_TYPE(void sa_handler, [(int signo)])
+       PSI_FUNCTOR_TYPE(void sa_sigaction, [(int signo, siginfo_t *info, ucontext_t *context)])
+       
        PSI_STRUCT(struct sigaction, [
-               void *sa_handler,
+               sa_handler sa_handler,
                sigset_t sa_mask,
                int sa_flags,
-               void *sa_sigaction]
+               sa_sigaction sa_sigaction]
        )
        
        PSI_STRUCT(ucontext_t, [