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

Function WasmEdge_StoreCreate

lib/api/wasmedge.cpp:2228–2236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2226// >>>>>>>> WasmEdge store functions >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2227
2228WASMEDGE_CAPI_EXPORT WasmEdge_StoreContext *
2229WasmEdge_StoreCreate(void) noexcept {
2230 try {
2231 return toStoreCxt(new WasmEdge::Runtime::StoreManager);
2232 } catch (...) {
2233 handleCAPIError();
2234 return nullptr;
2235 }
2236}
2237
2238WASMEDGE_CAPI_EXPORT const WasmEdge_ModuleInstanceContext *
2239WasmEdge_StoreFindModule(const WasmEdge_StoreContext *Cxt,

Callers 4

TestContextMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

handleCAPIErrorFunction · 0.85

Tested by 4

TestContextMethod · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68