mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Non-void functions must return value
This commit is contained in:
parent
2361a1a53e
commit
c25c1d4e54
1 changed files with 2 additions and 0 deletions
|
@ -33,12 +33,14 @@ rb_internal_thread_event_hook_t *
|
|||
rb_internal_thread_add_event_hook(rb_internal_thread_event_callback callback, rb_event_flag_t internal_event, void *user_data)
|
||||
{
|
||||
// not implemented
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool
|
||||
rb_internal_thread_remove_event_hook(rb_internal_thread_event_hook_t * hook)
|
||||
{
|
||||
// not implemented
|
||||
return false;
|
||||
}
|
||||
|
||||
RBIMPL_ATTR_NORETURN()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue