Struct BNObjectDestructionCallbacks
#[repr(C)]
pub struct BNObjectDestructionCallbacks {
pub context: *mut c_void,
pub destructBinaryView: Option<unsafe extern "C" fn(ctxt: *mut c_void, view: *mut BNBinaryView)>,
pub destructFileMetadata: Option<unsafe extern "C" fn(ctxt: *mut c_void, file: *mut BNFileMetadata)>,
pub destructFunction: Option<unsafe extern "C" fn(ctxt: *mut c_void, func: *mut BNFunction)>,
}The provided pointers have a reference count of zero. Do not add additional references, doing so can lead to a double free. These are provided only for freeing additional state related to the objects passed.