[][src]Function c_closures::closure_call

pub unsafe extern "C" fn closure_call(
    self_: *mut Closure,
    arg: *mut c_void
) -> *mut c_void

Calls the inner code. The return value of this may have come from Rust, meaning you can not free it. However it must be freed. When you're done with the return value, pass it back to Rust with closure_release_return_value so that the memory isn't leaked. If you won't be using the return value, instead call closure_call_with_no_return.