MCPcopy Create free account
hub / github.com/Segs/Segs / basic_reference

Method basic_reference

3rd_party/lua_sol2/include/sol.hpp:6779–6783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6777
6778 protected:
6779 basic_reference(lua_State* L, detail::global_tag) noexcept
6780 : luastate(detail::pick_main_thread<main_only>(L, L)) {
6781 lua_pushglobaltable(lua_state());
6782 ref = luaL_ref(lua_state(), LUA_REGISTRYINDEX);
6783 }
6784
6785 int stack_index() const noexcept {
6786 return -1;

Callers

nothing calls this directly

Calls 6

xmovableFunction · 0.85
copyMethod · 0.80
lua_stateMethod · 0.45
stack_indexMethod · 0.45
pushMethod · 0.45
get_typeMethod · 0.45

Tested by

no test coverage detected