From 41ed3c47719b29dd02dc9fcf07f79dc6f2c4381d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Jan 2003 11:46:16 -0200 Subject: getn/setn in C moved to lauxlib --- lauxlib.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lauxlib.h') diff --git a/lauxlib.h b/lauxlib.h index 25d8499c..fb2b0ab6 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.55 2002/11/14 15:41:38 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.56 2003/01/17 15:28:09 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -51,6 +51,9 @@ LUALIB_API int luaL_findstring (const char *st, const char *const lst[]); LUALIB_API int luaL_ref (lua_State *L, int t); LUALIB_API void luaL_unref (lua_State *L, int t, int ref); +LUALIB_API int luaL_getn (lua_State *L, int t); +LUALIB_API void luaL_setn (lua_State *L, int t, int n); + LUALIB_API int luaL_loadfile (lua_State *L, const char *filename); LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t sz, const char *name); -- cgit v1.2.3-55-g6feb