aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-07-09 15:23:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-07-09 15:23:17 -0300
commit7a796a0682e8d0a4e3798955f5db64255d9bd44d (patch)
treebf7c79070525af27e11d494fd3c98f15bf1eee0d /ltests.c
parent76d8b8db06f7ae23da1543e1bf0a195d92b633a9 (diff)
downloadlua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.gz
lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.bz2
lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.zip
new macro `luaL_typename'
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 8b9226ae..5f3b4bba 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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;