diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.42 2002/02/05 22:36:52 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.43 2002/03/20 12:54: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 | */ |
@@ -27,9 +27,10 @@ typedef struct luaL_reg { | |||
27 | } luaL_reg; | 27 | } luaL_reg; |
28 | 28 | ||
29 | 29 | ||
30 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l); | 30 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l, int nup); |
31 | LUALIB_API void luaL_opennamedlib (lua_State *L, const char *libname, | 31 | LUALIB_API void luaL_opennamedlib (lua_State *L, const char *libname, |
32 | const luaL_reg *l); | 32 | const luaL_reg *l, int nup); |
33 | LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *event); | ||
33 | LUALIB_API void luaL_typerror (lua_State *L, int narg, const char *tname); | 34 | LUALIB_API void luaL_typerror (lua_State *L, int narg, const char *tname); |
34 | LUALIB_API void luaL_argerror (lua_State *L, int numarg, | 35 | LUALIB_API void luaL_argerror (lua_State *L, int numarg, |
35 | const char *extramsg); | 36 | const char *extramsg); |