aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShane Liesegang <shane@techie.net>2019-08-02 23:05:53 +0200
committerShane Liesegang <shane@techie.net>2019-08-02 23:05:53 +0200
commitfe758f3e0577cedb12e5edd0f6219cb5f30134c2 (patch)
tree4e7683a35e7b26abd939bd228017308f0b9ba4b8
parent9c5b97ae366d32d8cd387d0fea900ea3911c855d (diff)
downloadswig-fe758f3e0577cedb12e5edd0f6219cb5f30134c2.tar.gz
closer match to Python's output
-rw-r--r--Lib/lua/luarun.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg
index 5176f74cf..9ce99f01e 100644
--- a/Lib/lua/luarun.swg
+++ b/Lib/lua/luarun.swg
@@ -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::%p>", className, userData, userData->ptr);
+ lua_pushfstring(L, "<userdata of type '%s' at %p>", userData->type->str, userData->ptr);
return 1;
}