diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-01-27 11:46:16 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-01-27 11:46:16 -0200 |
commit | 41ed3c47719b29dd02dc9fcf07f79dc6f2c4381d (patch) | |
tree | 0481135889c06eded52f6573f203742ab64186c1 /lauxlib.h | |
parent | 635b7c707d146ab56127260601b6fb84c0c140f3 (diff) | |
download | lua-41ed3c47719b29dd02dc9fcf07f79dc6f2c4381d.tar.gz lua-41ed3c47719b29dd02dc9fcf07f79dc6f2c4381d.tar.bz2 lua-41ed3c47719b29dd02dc9fcf07f79dc6f2c4381d.zip |
getn/setn in C moved to lauxlib
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); |