aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 9e7feda2..4ed78f25 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.23 2005/03/28 17:17:53 roberto Exp roberto $ 2** $Id: ltests.c,v 2.24 2005/05/03 19:01:17 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -882,7 +882,7 @@ static int testC (lua_State *L) {
882 lua_pushstring(L1, s); 882 lua_pushstring(L1, s);
883 } 883 }
884 else if EQ("objsize") { 884 else if EQ("objsize") {
885 lua_pushinteger(L1, lua_objsize(L1, getindex)); 885 lua_pushinteger(L1, lua_objlen(L1, getindex));
886 } 886 }
887 else if EQ("tocfunction") { 887 else if EQ("tocfunction") {
888 lua_pushcfunction(L1, lua_tocfunction(L1, getindex)); 888 lua_pushcfunction(L1, lua_tocfunction(L1, getindex));