| 247 | } |
| 248 | |
| 249 | static int TestGetContextTableRef(lua_State* L) |
| 250 | { |
| 251 | const int self_index = 1; |
| 252 | |
| 253 | int top = lua_gettop(L); |
| 254 | |
| 255 | TestDummy* i = (TestDummy*)lua_touserdata(L, self_index); |
| 256 | lua_pushnumber(L, i ? i->m_ContextTableReference : LUA_NOREF); |
| 257 | |
| 258 | assert(top + 1 == lua_gettop(L)); |
| 259 | |
| 260 | return 1; |
| 261 | } |
| 262 | |
| 263 | static int TestScriptGetUniqueScriptId(lua_State* L) |
| 264 | { |
nothing calls this directly
no test coverage detected