aboutsummaryrefslogtreecommitdiff
path: root/deep_test/deep_test.c
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2021-06-24 11:19:38 +0200
committerBenoit Germain <bnt.germain@gmail.com>2021-06-24 11:19:38 +0200
commit4e8242de0c5d8c853201ec49dacf5aa9a5b0f7d3 (patch)
treea1c8efb7cd0e875dd0dde7d8c38ed332d616b411 /deep_test/deep_test.c
parent54e788bc121218f8f1a978ee136e4d0faa67370d (diff)
downloadlanes-4e8242de0c5d8c853201ec49dacf5aa9a5b0f7d3.tar.gz
lanes-4e8242de0c5d8c853201ec49dacf5aa9a5b0f7d3.tar.bz2
lanes-4e8242de0c5d8c853201ec49dacf5aa9a5b0f7d3.zip
expand deeptest.lua
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