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

Method valid

include/sol/table_proxy.hpp:229–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 }
228
229 bool valid() const {
230 auto pp = stack::push_pop(tbl);
231 auto p = stack::probe_get_field<std::is_same<meta::unqualified_t<Table>, global_table>::value>(lua_state(), key, lua_gettop(lua_state()));
232 lua_pop(lua_state(), p.levels);
233 return p;
234 }
235
236 int push() const noexcept {
237 return push(this->lua_state());

Callers 15

get_or_createMethod · 0.95
table_proxyClass · 0.95
state.cppFile · 0.45
operators.cppFile · 0.45
storage.cppFile · 0.45
tables.checks.cppFile · 0.45
gc.cppFile · 0.45
containers.cppFile · 0.45

Calls 1

push_popFunction · 0.85

Tested by

no test coverage detected