pub type IdleDispatchedHandler = *mut c_void;