diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-07-09 15:23:17 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-07-09 15:23:17 -0300 |
| commit | 7a796a0682e8d0a4e3798955f5db64255d9bd44d (patch) | |
| tree | bf7c79070525af27e11d494fd3c98f15bf1eee0d /lauxlib.h | |
| parent | 76d8b8db06f7ae23da1543e1bf0a195d92b633a9 (diff) | |
| download | lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.gz lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.tar.bz2 lua-7a796a0682e8d0a4e3798955f5db64255d9bd44d.zip | |
new macro `luaL_typename'
Diffstat (limited to 'lauxlib.h')
| -rw-r--r-- | lauxlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 | ** {====================================================== |
