Share ruby_sighandler_t definition

This commit is contained in:
Nobuyoshi Nakada 2019-10-09 23:39:58 +09:00
parent 891cbd66a4
commit 29e6782f5d
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
3 changed files with 3 additions and 7 deletions

View file

@ -1624,7 +1624,8 @@ extern void rb_vmdebug_debug_print_post(const rb_execution_context_t *ec, const
#define SDR() rb_vmdebug_stack_dump_raw(GET_EC(), GET_EC()->cfp)
#define SDR2(cfp) rb_vmdebug_stack_dump_raw(GET_EC(), (cfp))
void rb_vm_bugreport(const void *);
NORETURN(void rb_bug_for_fatal_signal(RETSIGTYPE (*default_sighandler)(int), int sig, const void *, const char *fmt, ...));
typedef RETSIGTYPE (*ruby_sighandler_t)(int);
NORETURN(void rb_bug_for_fatal_signal(ruby_sighandler_t default_sighandler, int sig, const void *, const char *fmt, ...));
/* functions about thread/vm execution */
RUBY_SYMBOL_EXPORT_BEGIN