Expand description
Exposes the Mun runtime using the C ABI.
Structs§
- External
Function Definition - Definition of an external function that is callable from Mun.
- Runtime
- A C-style handle to a runtime.
- Runtime
Options - Options required to construct a [
RuntimeHandle] throughmun_runtime_create
Functions§
- mun_
runtime_ ⚠create - Constructs a new runtime that loads the library at
library_pathand its dependencies. If successful, the runtimehandleis set, otherwise a non-zero error handle is returned. - mun_
runtime_ destroy - Destructs the runtime corresponding to
handle. - mun_
runtime_ ⚠find_ function_ definition - Retrieves the
FunctionDefinitionforfn_namefrom theruntime. If successful,has_fn_infoandfn_infoare set, otherwise a non-zero error handle is returned. - mun_
runtime_ ⚠get_ type_ info_ by_ id - Retrieves the type information corresponding to the specified
type_idfrom the runtime. If successful,has_type_infoandtype_infoare set, otherwise a non-zero error handle is returned. - mun_
runtime_ ⚠get_ type_ info_ by_ name - Retrieves the type information corresponding to the specified
type_namefrom the runtime. If successful,has_type_infoandtype_infoare set, otherwise a non-zero error handle is returned. - mun_
runtime_ ⚠update - Updates the runtime corresponding to
handle. If successful,updatedis set, otherwise a non-zero error handle is returned.