| 6 | #include <sol/sol.hpp> |
| 7 | |
| 8 | bool sol_lua_check(sol::types<zm::vec3>, lua_State* L, int index, |
| 9 | std::function<sol::check_handler_type> handler, |
| 10 | sol::stack::record& tracking) { |
| 11 | // use sol's method for checking |
| 12 | // specifically for a table |
| 13 | return sol::stack::check<sol::lua_table>( |
| 14 | L, index, handler, tracking); |
| 15 | } |
| 16 | |
| 17 | zm::vec3 sol_lua_get(sol::types<zm::vec3>, lua_State* L, |
| 18 | int index, sol::stack::record& tracking) { |
nothing calls this directly
no outgoing calls
no test coverage detected