Skip to main content

ffi_unregister_callback

Function ffi_unregister_callback 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ffi_unregister_callback( name: *const c_char, ) -> i32
Expand description

Remove a registered callback by name.

Returns 0 if removed, -1 if not found, -2 if lock is poisoned.

Exported as: ffi_unregister_callback

§Safety

name must be a valid null-terminated C string.