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.55 2002/11/14 15:41:38 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.56 2003/01/17 15:28:09 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 | */ |
@@ -51,6 +51,9 @@ LUALIB_API int luaL_findstring (const char *st, const char *const lst[]); | |||
51 | LUALIB_API int luaL_ref (lua_State *L, int t); | 51 | LUALIB_API int luaL_ref (lua_State *L, int t); |
52 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); | 52 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); |
53 | 53 | ||
54 | LUALIB_API int luaL_getn (lua_State *L, int t); | ||
55 | LUALIB_API void luaL_setn (lua_State *L, int t, int n); | ||
56 | |||
54 | LUALIB_API int luaL_loadfile (lua_State *L, const char *filename); | 57 | LUALIB_API int luaL_loadfile (lua_State *L, const char *filename); |
55 | LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t sz, | 58 | LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t sz, |
56 | const char *name); | 59 | const char *name); |