Function mun_function_name

Source
#[no_mangle]
pub unsafe extern "C" fn mun_function_name(
    function: Function,
    name: *mut *const c_char,
) -> ErrorHandle
Expand description

Retrieves the function’s name.

If the function is successful, the caller is responsible for calling [mun_string_destroy] on the return pointer.

§Safety

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