From a10d495b18932d59cf00798578eebe071c66c7c4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 Jan 2011 13:51:42 -0200 Subject: 'luaL_findtable' returns boolean about whether it created a new table (to easy initializing table) --- lauxlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lauxlib.h') diff --git a/lauxlib.h b/lauxlib.h index 5d167a7d..0c8f0f28 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.112 2010/11/16 17:43:29 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.113 2010/11/16 19:20:01 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -83,7 +83,7 @@ LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p, LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup); -LUALIB_API void (luaL_findtable) (lua_State *L, int idx, const char *fname); +LUALIB_API int (luaL_findtable) (lua_State *L, int idx, const char *fname); LUALIB_API void (luaL_traceback) (lua_State *L, lua_State *L1, const char *msg, int level); -- cgit v1.2.3-55-g6feb