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

Function compMem

runtime/src/native.js:13–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11/* Build the 6 `env.edge_*` imports for wasm-pdk plugins; bridges guest <-> compiler memory. */
12export function makeGuestEnv(compilerExports) {
13 const compMem = () => new Uint8Array(compilerExports.memory.buffer);
14 const compView = () => new DataView(compilerExports.memory.buffer);
15
16 return (guestExports) => {

Callers 2

stageFunction · 0.85
makeGuestEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected