Skip to main content

drwrap_set_retval

Function drwrap_set_retval 

Source
pub unsafe extern "C" fn drwrap_set_retval(
    wrapcxt: *mut c_void,
    val: *mut c_void,
) -> bool_
Expand description

Sets the return value of the wrapped function represented by \p wrapcxt to \p val. Assumes a pointer-sized return value. May only be called from a \p drwrap_wrap post-function callback. \return whether successful.