pub type IRegisteredTask = *mut c_void;