| 720 | return 0; |
| 721 | } |
| 722 | static int BoxCheck(lua_State* L)LNOEXCEPT |
| 723 | { |
| 724 | if (!lua_istable(L, 1)) |
| 725 | return luaL_error(L, "invalid lstg object for 'BoxCheck'."); |
| 726 | lua_rawgeti(L, 1, 2); // t(object) 'l' 'r' 't' 'b' ??? id |
| 727 | bool tRet; |
| 728 | if (!LPOOL.BoxCheck( |
| 729 | (size_t)luaL_checkinteger(L, -1), |
| 730 | luaL_checknumber(L, 2), |
| 731 | luaL_checknumber(L, 3), |
| 732 | luaL_checknumber(L, 4), |
| 733 | luaL_checknumber(L, 5), |
| 734 | tRet)) |
| 735 | { |
| 736 | return luaL_error(L, "invalid lstg object for 'BoxCheck'."); |
| 737 | } |
| 738 | lua_pushboolean(L, tRet); |
| 739 | return 1; |
| 740 | } |
| 741 | static int ResetPool(lua_State* L)LNOEXCEPT |
| 742 | { |
| 743 | LPOOL.ResetPool(); |
nothing calls this directly
no outgoing calls
no test coverage detected