actually seeing both is useful

This commit is contained in:
Shane Liesegang 2019-07-27 20:47:18 +02:00
commit b145c49375

View file

@ -1049,7 +1049,7 @@ SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L)
lua_getfield(L, -1, ".type");
className = lua_tostring(L, -1);
lua_pushfstring(L, "<%s userdata: %p>", className, userData->ptr);
lua_pushfstring(L, "<%s userdata: %p::%p>", className, userdata, userData->ptr);
return 1;
}