Commit d27dafe 1 parent 5c9e48c commit d27dafe Copy full SHA for d27dafe
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ typedef struct gvl_hook {
214
214
struct gvl_hook *next;
215
215
} gvl_hook_t ;
216
216
217
- gvl_hook_t * rb_gvl_event_new (void * callback, rb_event_flag_t event);
217
+ gvl_hook_t * rb_gvl_event_new (rb_gvl_callback callback, rb_event_flag_t event);
218
218
bool rb_gvl_event_delete (gvl_hook_t * hook);
219
219
RBIMPL_SYMBOL_EXPORT_END ()
220
220
#endif
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ static gvl_hook_t * rb_gvl_hooks = NULL;
105
105
static pthread_rwlock_t rb_gvl_hooks_rw_lock = PTHREAD_RWLOCK_INITIALIZER ;
106
106
107
107
gvl_hook_t *
108
- rb_gvl_event_new (void * callback , rb_event_flag_t event ) {
108
+ rb_gvl_event_new (rb_gvl_callback callback , rb_event_flag_t event ) {
109
109
gvl_hook_t * hook = ALLOC_N (gvl_hook_t , 1 );
110
110
hook -> callback = callback ;
111
111
hook -> event = event ;
You can’t perform that action at this time.
0 commit comments