pub type ResumingEventHandler = *mut c_void;