Skip to main content

notify_register_raw

Function notify_register_raw 

Source
pub unsafe fn notify_register_raw(
    cb: ove_pm_notify_fn,
    user_data: *mut c_void,
) -> Result<()>
Expand description

Raw-pointer variant of notify_register.

ยงSafety

The callback and user_data must remain valid until unregistered.