diff options
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.84 2005/08/26 17:36:32 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.85 2005/09/06 17:19:51 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 | */ |
@@ -114,6 +114,7 @@ LUALIB_API const char *(luaL_findtable) (lua_State *L, int idx, | |||
114 | 114 | ||
115 | #define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) | 115 | #define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) |
116 | 116 | ||
117 | #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) | ||
117 | 118 | ||
118 | /* | 119 | /* |
119 | ** {====================================================== | 120 | ** {====================================================== |