| 231 | } |
| 232 | |
| 233 | static int LuaCheckTable(lua_State* L) { |
| 234 | int index = 1; |
| 235 | char* buf = (char*) lua_topointer(L, 2); |
| 236 | int buffer_size = (int) lua_tonumber(L, 3); |
| 237 | dmScript::CheckTable(L, buf, buffer_size, index); |
| 238 | return 0; |
| 239 | } |
| 240 | |
| 241 | #define abs_index(L, i) ((i) > 0 || (i) <= LUA_REGISTRYINDEX ? (i) : \ |
| 242 | lua_gettop(L) + (i) + 1) |
nothing calls this directly
no test coverage detected