MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / xmovable

Function xmovable

Libs/sol/sol.hpp:8778–8785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8776namespace sol {
8777 namespace detail {
8778 inline bool xmovable(lua_State* leftL, lua_State* rightL) {
8779 if (rightL == nullptr || leftL == nullptr || leftL == rightL) {
8780 return false;
8781 }
8782 const void* leftregistry = lua_topointer(leftL, LUA_REGISTRYINDEX);
8783 const void* rightregistry = lua_topointer(rightL, LUA_REGISTRYINDEX);
8784 return leftregistry == rightregistry;
8785 }
8786 } // namespace detail
8787
8788 class stateless_stack_reference {

Callers 5

stack_referenceMethod · 0.85
stateless_referenceMethod · 0.85
copy_assignMethod · 0.85
move_assignMethod · 0.85
basic_referenceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected