Function wasmedge_sys::ffi::WasmEdge_GlobalTypeCreate
source · pub unsafe extern "C" fn WasmEdge_GlobalTypeCreate(
ValType: WasmEdge_ValType,
Mut: WasmEdge_Mutability
) -> *mut WasmEdge_GlobalTypeContext
Expand description
Creation of the WasmEdge_GlobalTypeContext.
The caller owns the object and should call WasmEdge_GlobalTypeDelete
to
destroy it.
\param ValType the value type of the global type. \param Mut the mutation of the global type.
\returns pointer to context, NULL if failed.