| 8776 | namespace 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 { |
no outgoing calls
no test coverage detected