pub unsafe extern "C" fn WasmEdge_GlobalInstanceCreate(
GlobType: *const WasmEdge_GlobalTypeContext,
Value: WasmEdge_Value,
) -> *mut WasmEdge_GlobalInstanceContextExpand description
Creation of the WasmEdge_GlobalInstanceContext.
The caller owns the object and should call WasmEdge_GlobalInstanceDelete
to destroy it if the returned object is not added to a
WasmEdge_ModuleInstanceContext.
\param GlobType the global type context to initialize the global instance
context.
\param Value the initial value with its value type of the global instance.
This function will fail if the value types of GlobType and Value do not
match.
\returns pointer to context, NULL if failed.