Function mun_memory::ffi::mun_type_name
source · #[no_mangle]
pub unsafe extern "C" fn mun_type_name(
ty: Type,
name: *mut *const c_char
) -> ErrorHandle
Expand description
Retrieves the type’s name.
Safety
The caller is responsible for calling mun_string_destroy
on the return pointer - if it is not
null.
This function results in undefined behavior if the passed in Type
has been deallocated in a
previous call to mun_type_release
.