MCPcopy Create free account
hub / github.com/csound/csound / freeStringPtr

Function freeStringPtr

wasm/browser/src/utils/string-pointers.js:8–10  ·  view source on GitHub ↗
(wasm, ptr)

Source from the content-addressed store, hash-verified

6 * @param {number} ptr
7 */
8export const freeStringPtr = (wasm, ptr) => {
9 wasm.exports.freeStringMem(ptr);
10};
11
12export const ptr2string = (wasm, stringPtr) => {
13 const { buffer } = wasm.wasi.memory;

Callers 14

csoundAppendEnvFunction · 0.90
csoundCompileOrcFunction · 0.90
csoundEvalCodeFunction · 0.90
csoundCompileCsdFunction · 0.90
csoundCompileCsdTextFunction · 0.90
csoundSetOptionFunction · 0.90
csoundReadScoreFunction · 0.90
csoundInputMessageFunction · 0.90
csoundInputMessageAsyncFunction · 0.90
csoundGetControlChannelFunction · 0.90
csoundSetControlChannelFunction · 0.90
csoundGetStringChannelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected