aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-01-10 13:51:42 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-01-10 13:51:42 -0200
commita10d495b18932d59cf00798578eebe071c66c7c4 (patch)
tree572bcdde61565a39b7f6b9f23cbb88f12dcbc7e8 /lauxlib.h
parentc2e3cc4c89ccd058c84e1d14499c8b26d99c5b3d (diff)
downloadlua-a10d495b18932d59cf00798578eebe071c66c7c4.tar.gz
lua-a10d495b18932d59cf00798578eebe071c66c7c4.tar.bz2
lua-a10d495b18932d59cf00798578eebe071c66c7c4.zip
'luaL_findtable' returns boolean about whether it created a new
table (to easy initializing table)
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 5d167a7d..0c8f0f28 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.112 2010/11/16 17:43:29 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.113 2010/11/16 19:20:01 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*/
@@ -83,7 +83,7 @@ LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p,
83 83
84LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup); 84LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
85 85
86LUALIB_API void (luaL_findtable) (lua_State *L, int idx, const char *fname); 86LUALIB_API int (luaL_findtable) (lua_State *L, int idx, const char *fname);
87 87
88LUALIB_API void (luaL_traceback) (lua_State *L, lua_State *L1, 88LUALIB_API void (luaL_traceback) (lua_State *L, lua_State *L1,
89 const char *msg, int level); 89 const char *msg, int level);