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

Function setU32

runtime/src/env.js:13–13  ·  view source on GitHub ↗
(ptr, v)

Source from the content-addressed store, hash-verified

11export function makeCompilerEnv({ getExports, onLine, fetchedSources, lockfile, integrityActive, rt, captureHostCall }) {
12 const readStr = (ptr, len) => TD.decode(new Uint8Array(getExports().memory.buffer, ptr, len));
13 const setU32 = (ptr, v) => new DataView(getExports().memory.buffer).setUint32(ptr, v, true);
14
15 return {
16 host_print: (ptr, len) => onLine(readStr(ptr, len)),

Callers 1

makeCompilerEnvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected