closer match to Python's output
This commit is contained in:
parent
9c5b97ae36
commit
fe758f3e05
1 changed files with 1 additions and 1 deletions
|
|
@ -1049,7 +1049,7 @@ SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L)
|
||||||
lua_getfield(L, -1, ".type");
|
lua_getfield(L, -1, ".type");
|
||||||
className = lua_tostring(L, -1);
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue