Function mun_function_release

Source
#[no_mangle]
pub unsafe extern "C" fn mun_function_release(
    function: Function,
) -> ErrorHandle
Expand description

Notifies the runtime that one of the references to the function is no longer in use. The data may not immediately be destroyed. Only after all references have been released can the underlying data be deallocated.

ยงSafety

This function might be unsafe if the underlying data has been deallocated by a previous call to mun_function_release.