aboutsummaryrefslogtreecommitdiff
path: root/deep_test/deep_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'deep_test/deep_test.c')
-rw-r--r--deep_test/deep_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deep_test/deep_test.c b/deep_test/deep_test.c
index 4bee7fe..c400cac 100644
--- a/deep_test/deep_test.c
+++ b/deep_test/deep_test.c
@@ -61,7 +61,7 @@ static int deep_getuv( lua_State* L)
61static int deep_tostring( lua_State* L) 61static int deep_tostring( lua_State* L)
62{ 62{
63 struct s_MyDeepUserdata* self = luaG_todeep( L, deep_test_id, 1); 63 struct s_MyDeepUserdata* self = luaG_todeep( L, deep_test_id, 1);
64 lua_pushfstring( L, "deep(%d)", self->val); 64 lua_pushfstring( L, "%p:deep(%d)", lua_topointer( L, 1), self->val);
65 return 1; 65 return 1;
66} 66}
67 67
@@ -173,7 +173,7 @@ static int clonable_getuv( lua_State* L)
173static int clonable_tostring(lua_State* L) 173static int clonable_tostring(lua_State* L)
174{ 174{
175 struct s_MyClonableUserdata* self = (struct s_MyClonableUserdata*) lua_touserdata( L, 1); 175 struct s_MyClonableUserdata* self = (struct s_MyClonableUserdata*) lua_touserdata( L, 1);
176 lua_pushfstring( L, "clonable(%d)", self->val); 176 lua_pushfstring( L, "%p:clonable(%d)", lua_topointer( L, 1), self->val);
177 return 1; 177 return 1;
178} 178}
179 179