| 267 | namespace dmScript |
| 268 | { |
| 269 | void InitializeBitop(lua_State* L) |
| 270 | { |
| 271 | int top = lua_gettop(L); |
| 272 | |
| 273 | luaopen_bit(L); |
| 274 | |
| 275 | int stack = lua_gettop(L); |
| 276 | |
| 277 | // Above call leaves a table and a number on the stack which will not |
| 278 | // be needed for anything. |
| 279 | lua_pop(L, stack - top); |
| 280 | } |
| 281 | } |
no test coverage detected