From 7a796a0682e8d0a4e3798955f5db64255d9bd44d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 9 Jul 2004 15:23:17 -0300 Subject: new macro `luaL_typename' --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 036a4c9d..c3a8cb5e 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.152 2004/07/02 18:09:11 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.153 2004/07/09 16:01:38 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -195,7 +195,7 @@ static int luaB_collectgarbage (lua_State *L) { static int luaB_type (lua_State *L) { luaL_checkany(L, 1); - lua_pushstring(L, lua_typename(L, lua_type(L, 1))); + lua_pushstring(L, luaL_typename(L, 1)); return 1; } -- cgit v1.2.3-55-g6feb