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

Function WasmEdge_ValueGetExternRef

lib/api/wasmedge.cpp:757–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757WASMEDGE_CAPI_EXPORT void *
758WasmEdge_ValueGetExternRef(const WasmEdge_Value Val) noexcept {
759 return &WasmEdge::retrieveExternRef<uint32_t>(
760 WasmEdge::ValVariant::wrap<WasmEdge::RefVariant>(
761 to_WasmEdge_128_t<WasmEdge::uint128_t>(Val.Value))
762 .get<WasmEdge::RefVariant>());
763}
764
765// <<<<<<<< WasmEdge value functions <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
766

Callers 15

ExternFunctorSquareFunction · 0.85
ExternClassAddFunction · 0.85
ExternFuncMulFunction · 0.85
ExternSTLOStreamStrFunction · 0.85
ExternSTLOStreamU32Function · 0.85
ExternSTLMapInsertFunction · 0.85
ExternSTLMapEraseFunction · 0.85
ExternSTLSetInsertFunction · 0.85
ExternSTLSetEraseFunction · 0.85
ExternSTLVectorPushFunction · 0.85
ExternSTLVectorSumFunction · 0.85
externAddFunction · 0.85

Calls

no outgoing calls

Tested by 15

ExternFunctorSquareFunction · 0.68
ExternClassAddFunction · 0.68
ExternFuncMulFunction · 0.68
ExternSTLOStreamStrFunction · 0.68
ExternSTLOStreamU32Function · 0.68
ExternSTLMapInsertFunction · 0.68
ExternSTLMapEraseFunction · 0.68
ExternSTLSetInsertFunction · 0.68
ExternSTLSetEraseFunction · 0.68
ExternSTLVectorPushFunction · 0.68
ExternSTLVectorSumFunction · 0.68
externAddFunction · 0.68