aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
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 /lauxlib.h
parent76d8b8db06f7ae23da1543e1bf0a195d92b633a9 (diff)
downloadlua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.gz
lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.bz2
lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.zip
new macro `luaL_typename'
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 3b2ceb2b..1a0295d6 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.68 2004/06/29 16:57:56 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.69 2004/06/30 12:58:44 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -86,6 +86,7 @@ LUALIB_API lua_State *(luaL_newstate) (void);
86#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, n)) 86#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, n))
87#define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, n,d)) 87#define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, n,d))
88 88
89#define luaL_typename(L,i) lua_typename(L,lua_type(L,(i)))
89 90
90/* 91/*
91** {====================================================== 92** {======================================================