diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-29 13:55:08 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-29 13:55:08 -0200 |
commit | 3617e04e972417144169d28184188a082eb40cbb (patch) | |
tree | 16741a6a01385963b2ce70cfd01fd917f9b21148 /lua.h | |
parent | 8c62bde36fe129454bc818b5ee073267f93fe4ab (diff) | |
download | lua-3617e04e972417144169d28184188a082eb40cbb.tar.gz lua-3617e04e972417144169d28184188a082eb40cbb.tar.bz2 lua-3617e04e972417144169d28184188a082eb40cbb.zip |
'lua_load' has an extra argument 'mode'
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.280 2011/10/24 14:54:05 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.281 2011/10/24 16:53:05 roberto Exp roberto $ |
3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
@@ -254,7 +254,8 @@ LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc, | |||
254 | #define lua_pcall(L,n,r,f) lua_pcallk(L, (n), (r), (f), 0, NULL) | 254 | #define lua_pcall(L,n,r,f) lua_pcallk(L, (n), (r), (f), 0, NULL) |
255 | 255 | ||
256 | LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt, | 256 | LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt, |
257 | const char *chunkname); | 257 | const char *chunkname, |
258 | const char *mode); | ||
258 | 259 | ||
259 | LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data); | 260 | LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data); |
260 | 261 | ||