ext/pf2/src/session/new_thread_watcher.rs in pf2-0.6.0 vs ext/pf2/src/session/new_thread_watcher.rs in pf2-0.7.0
- old
+ new
@@ -52,10 +52,10 @@
watcher
}
unsafe extern "C" fn on_thread_resume(
_flag: rb_event_flag_t,
- data: *const rb_internal_thread_event_data,
+ data: *const rb_internal_thread_event_data_t,
custom_data: *mut c_void,
) {
let ruby_thread: VALUE = unsafe { (*data).thread };
// A pointer to Box<Inner> is passed as custom_data