MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / guestView

Function guestView

runtime/src/env.js:57–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56 // wasmpdk: stage argv, call, copy back. Views as fns because `fn(...)` can re-enter `wasm_alloc` and detach a cached view.
57 const guestView = () => new DataView(fn.__edge_memory.buffer);
58 const compView = () => new DataView(exports.memory.buffer);
59
60 const g_argv = fn.__edge_alloc(Math.max(4, argc * 4));

Callers 1

makeCompilerEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected