Function wasmedge_sys::ffi::WasmEdge_GlobalInstanceGetGlobalType
source · pub unsafe extern "C" fn WasmEdge_GlobalInstanceGetGlobalType(
Cxt: *const WasmEdge_GlobalInstanceContext
) -> *const WasmEdge_GlobalTypeContext
Expand description
Get the global type context from a global instance.
The global type context links to the global type in the global instance
context and owned by the context. The caller should NOT call the
WasmEdge_GlobalTypeDelete
.
\param Cxt the WasmEdge_GlobalInstanceContext.
\returns pointer to context, NULL if failed.