(argCount = 0)
| 145 | } |
| 146 | |
| 147 | public runSync(argCount = 0): MultiReturn { |
| 148 | const base = this.getTop() - argCount - 1 // The 1 is for the function to run |
| 149 | this.assertOk(this.lua.lua_pcallk(this.address, argCount, LUA_MULTRET, 0, 0, null) as LuaReturn) |
| 150 | return this.getStackValues(base) |
| 151 | } |
| 152 | |
| 153 | public pop(count = 1): void { |
| 154 | this.lua.lua_pop(this.address, count) |
no test coverage detected