aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.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 /lbaselib.c
parent76d8b8db06f7ae23da1543e1bf0a195d92b633a9 (diff)
downloadlua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.gz
lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.bz2
lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.zip
new macro `luaL_typename'
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 036a4c9d..c3a8cb5e 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.152 2004/07/02 18:09:11 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.153 2004/07/09 16:01:38 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -195,7 +195,7 @@ static int luaB_collectgarbage (lua_State *L) {
195 195
196static int luaB_type (lua_State *L) { 196static int luaB_type (lua_State *L) {
197 luaL_checkany(L, 1); 197 luaL_checkany(L, 1);
198 lua_pushstring(L, lua_typename(L, lua_type(L, 1))); 198 lua_pushstring(L, luaL_typename(L, 1));
199 return 1; 199 return 1;
200} 200}
201 201