MCPcopy Create free account
hub / github.com/Tencent/xLua / GetHashCode

Method GetHashCode

Assets/XLua/Src/LuaBase.cs:104–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }
103
104 public override int GetHashCode()
105 {
106 LuaAPI.lua_getref(luaEnv.L, luaReference);
107 var pointer = LuaAPI.lua_topointer(luaEnv.L, -1);
108 LuaAPI.lua_pop(luaEnv.L, 1);
109 return pointer.ToInt32();
110 }
111
112 internal virtual void push(RealStatePtr L)
113 {

Callers 1

ToStringFunction · 0.45

Calls 3

lua_getrefMethod · 0.80
lua_topointerMethod · 0.80
lua_popMethod · 0.80

Tested by

no test coverage detected