Module function

Source
Expand description

Exposes function information using the C ABI.

Structs§

Function
Describes a Function accessible from a Mun super::runtime::Runtime.

Functions§

mun_function_add_reference
Notifies the runtime an additional references exists to the function. This ensures that the data is kept alive even if mun_function_release is called for the existing references. Only after all references have been released can the underlying data be deallocated.
mun_function_argument_types
Retrieves the function’s argument types.
mun_function_fn_ptr
Retrieves the function’s function pointer.
mun_function_name
Retrieves the function’s name.
mun_function_release
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.
mun_function_return_type
Retrieves the function’s return type.