MCPcopy Create free account
hub / github.com/ThePhD/sol2 / sol_lua_check

Function sol_lua_check

examples/customization/source/lua_zm_interop.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <sol/sol.hpp>
7
8bool 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
17zm::vec3 sol_lua_get(sol::types<zm::vec3>, lua_State* L,
18 int index, sol::stack::record& tracking) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected