diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.36 2001/07/22 00:59:36 roberto Exp $ | 2 | ** $Id: lauxlib.h,v 1.37 2001/10/26 17:33:30 roberto Exp $ |
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,6 +27,7 @@ typedef struct luaL_reg { | |||
27 | 27 | ||
28 | 28 | ||
29 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l, int n); | 29 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l, int n); |
30 | LUALIB_API void luaL_typerror (lua_State *L, int narg, const lua_char *tname); | ||
30 | LUALIB_API void luaL_argerror (lua_State *L, int numarg, | 31 | LUALIB_API void luaL_argerror (lua_State *L, int numarg, |
31 | const lua_char *extramsg); | 32 | const lua_char *extramsg); |
32 | LUALIB_API const lua_char *luaL_check_lstr (lua_State *L, int numArg, | 33 | LUALIB_API const lua_char *luaL_check_lstr (lua_State *L, int numArg, |
@@ -46,6 +47,8 @@ LUALIB_API void luaL_verror (lua_State *L, const lua_char *fmt, ...); | |||
46 | LUALIB_API int luaL_findstring (const lua_char *name, | 47 | LUALIB_API int luaL_findstring (const lua_char *name, |
47 | const lua_char *const list[]); | 48 | const lua_char *const list[]); |
48 | 49 | ||
50 | LUALIB_API int luaL_ref (lua_State *L, int t); | ||
51 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); | ||
49 | 52 | ||
50 | 53 | ||
51 | /* | 54 | /* |