diff options
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r-- | include/ruby/ruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 440bfe2ed1..8e8486b105 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1220,6 +1220,7 @@ typedef struct rb_event_hook_struct { struct rb_event_hook_struct *next; } rb_event_hook_t; +#define RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1 void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data); int rb_remove_event_hook(rb_event_hook_func_t func); |