Skip to main content

drwrap_unwrap

Function drwrap_unwrap 

Source
pub unsafe extern "C" fn drwrap_unwrap(
    func: app_pc,
    pre_func_cb: Option<unsafe extern "C" fn(wrapcxt: *mut c_void, user_data: *mut *mut c_void)>,
    post_func_cb: Option<unsafe extern "C" fn(wrapcxt: *mut c_void, user_data: *mut c_void)>,
) -> bool_
Expand description

Removes a previously-requested wrap for the function \p func and the callback pair \p pre_func_cb and \p post_func_cb. This must be the same pair that was passed to \p dr_wrap.

This routine can be called from \p pre_func_cb or \p post_func_cb.

\return whether successful.