mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Share ruby_sighandler_t definition
This commit is contained in:
parent
891cbd66a4
commit
29e6782f5d
3 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue