pub type REventCallback = Option<unsafe extern "C" fn(ev: *mut REvent, type_: c_int, user: *mut c_void, data: *mut c_void)>;