mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
* include/ruby/ruby.h (RB_EVENT_HOOKS_HAVE_CALLBACK_DATA):
new macro for compatibility check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
060f433f48
commit
c6a24c45f8
4 changed files with 27 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue