Expand description
Exposes function information using the C ABI.
Structs§
- Function
- Describes a
Function
accessible from a Munsuper::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.