diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-07-09 15:23:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-07-09 15:23:17 -0300 |
commit | 7a796a0682e8d0a4e3798955f5db64255d9bd44d (patch) | |
tree | bf7c79070525af27e11d494fd3c98f15bf1eee0d /ltests.c | |
parent | 76d8b8db06f7ae23da1543e1bf0a195d92b633a9 (diff) | |
download | lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.gz lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.bz2 lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.zip |
new macro `luaL_typename'
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; |