new macro `luaL_typename'

This commit is contained in:
Roberto Ierusalimschy
2004-07-09 15:23:17 -03:00
parent 76d8b8db06
commit 7a796a0682
4 changed files with 8 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lauxlib.h,v 1.68 2004/06/29 16:57:56 roberto Exp roberto $
** $Id: lauxlib.h,v 1.69 2004/06/30 12:58:44 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -86,6 +86,7 @@ LUALIB_API lua_State *(luaL_newstate) (void);
#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, n))
#define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, n,d))
#define luaL_typename(L,i) lua_typename(L,lua_type(L,(i)))
/*
** {======================================================