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

Function Finalizer

test/plugins/unittest/testplugin.c:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13static const WasmEdge_String NameStringDefaultValue = {.Buf = NameCString,
14 .Length = 4};
15static void Finalizer(void *Data) {
16 printf("Deallocate host data\n");
17 free((int32_t *)Data);
18}
19
20static WasmEdge_Result
21HostFuncAdd(void *Data, const WasmEdge_CallingFrameContext *CallFrameCxt,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected