Function wasmedge_sys::ffi::WasmEdge_GlobalInstanceSetValue
source · pub unsafe extern "C" fn WasmEdge_GlobalInstanceSetValue(
Cxt: *mut WasmEdge_GlobalInstanceContext,
Value: WasmEdge_Value
)
Expand description
Set the value from a global instance.
This function will do nothing if the global context is set as the Const
mutation or the value type not matched.
\param Cxt the WasmEdge_GlobalInstanceContext. \param Value the value to set into the global context.