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

Method setup_table

include/sol/table_proxy.hpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 auto setup_table(std::true_type) {
60 auto p = stack::probe_get_field<std::is_same_v<meta::unqualified_t<Table>, global_table>>(lua_state(), key, tbl.stack_index());
61 lua_pop(lua_state(), p.levels);
62 return p;
63 }
64
65 bool is_valid(std::false_type) {
66 auto pp = stack::push_pop(tbl);

Callers

nothing calls this directly

Calls 1

stack_indexMethod · 0.45

Tested by

no test coverage detected