diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.104 2010/04/19 18:52:15 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.105 2010/05/04 17:21:08 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 | */ |
@@ -29,6 +29,8 @@ typedef struct luaL_Reg { | |||
29 | LUALIB_API void (luaL_checkversion_) (lua_State *L, lua_Number ver); | 29 | LUALIB_API void (luaL_checkversion_) (lua_State *L, lua_Number ver); |
30 | #define luaL_checkversion(L) luaL_checkversion_(L, LUA_VERSION_NUM) | 30 | #define luaL_checkversion(L) luaL_checkversion_(L, LUA_VERSION_NUM) |
31 | 31 | ||
32 | LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname, | ||
33 | int sizehint); | ||
32 | LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname, | 34 | LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname, |
33 | const luaL_Reg *l, int nup); | 35 | const luaL_Reg *l, int nup); |
34 | LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); | 36 | LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); |