diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.8 2004/05/31 19:41:52 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.9 2004/06/02 19:08:52 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 | */ |
@@ -951,7 +951,7 @@ static int testC (lua_State *L) { | |||
951 | lua_pushnil(L1); | 951 | lua_pushnil(L1); |
952 | } | 952 | } |
953 | else if EQ("type") { | 953 | else if EQ("type") { |
954 | lua_pushstring(L1, lua_typename(L1, lua_type(L1, getnum))); | 954 | lua_pushstring(L1, luaL_typename(L1, getnum)); |
955 | } | 955 | } |
956 | else if EQ("getn") { | 956 | else if EQ("getn") { |
957 | int i = getnum; | 957 | int i = getnum; |