aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-11-29 13:55:08 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-11-29 13:55:08 -0200
commit3617e04e972417144169d28184188a082eb40cbb (patch)
tree16741a6a01385963b2ce70cfd01fd917f9b21148 /lua.h
parent8c62bde36fe129454bc818b5ee073267f93fe4ab (diff)
downloadlua-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index db463675..7b30b964 100644
--- a/lua.h
+++ b/lua.h
@@ -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
256LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt, 256LUA_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
259LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data); 260LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
260 261