Module mun_runtime::function
source · Expand description
Exposes function information using the C ABI.
Structs
Describes a
Function
accessible from a Mun super::runtime::Runtime
.Functions
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.Retrieves the function’s argument types.
Retrieves the function’s function pointer.
Retrieves the function’s name.
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.
Retrieves the function’s return type.