MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / WasmEdge_GlobalInstanceGetGlobalType

Function WasmEdge_GlobalInstanceGetGlobalType

lib/api/wasmedge.cpp:3026–3033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3024}
3025
3026WASMEDGE_CAPI_EXPORT const WasmEdge_GlobalTypeContext *
3027WasmEdge_GlobalInstanceGetGlobalType(
3028 const WasmEdge_GlobalInstanceContext *Cxt) noexcept {
3029 if (Cxt) {
3030 return toGlobTypeCxt(&fromGlobCxt(Cxt)->getGlobalType());
3031 }
3032 return nullptr;
3033}
3034
3035WASMEDGE_CAPI_EXPORT WasmEdge_Value WasmEdge_GlobalInstanceGetValue(
3036 const WasmEdge_GlobalInstanceContext *Cxt) noexcept {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68