MCPcopy Create free account
hub / github.com/ceifa/wasmoon / LuaEmscriptenModule

Interface LuaEmscriptenModule

src/luawasm.ts:4–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { EnvironmentVariables, LUA_REGISTRYINDEX, LuaReturn, LuaState, LuaType } from './types'
3
4interface LuaEmscriptenModule extends EmscriptenModule {
5 ccall: typeof ccall
6 addFunction: typeof addFunction
7 removeFunction: typeof removeFunction
8 setValue: typeof setValue
9 getValue: typeof getValue
10 FS: typeof FS
11 stringToNewUTF8: typeof allocateUTF8
12 lengthBytesUTF8: typeof lengthBytesUTF8
13 stringToUTF8: typeof stringToUTF8
14 ENV: EnvironmentVariables
15 _realloc: (pointer: number, size: number) => number
16}
17
18interface ReferenceMetadata {
19 index: number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected