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

Method loadFile

src/thread.ts:67–69  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

65 }
66
67 public loadFile(filename: string): void {
68 this.assertOk(this.lua.luaL_loadfilex(this.address, filename, null))
69 }
70
71 public resume(argCount = 0): LuaResumeResult {
72 const dataPointer = this.lua.module._malloc(PointerSize)

Callers 2

doFileMethod · 0.80
doFileSyncMethod · 0.80

Calls 1

assertOkMethod · 0.95

Tested by

no test coverage detected