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 /ldo.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 'ldo.h')
-rw-r--r-- | ldo.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.18 2009/12/17 12:28:57 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.19 2011/10/07 20:45:19 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -26,7 +26,8 @@ | |||
26 | /* type of protected functions, to be ran by `runprotected' */ | 26 | /* type of protected functions, to be ran by `runprotected' */ |
27 | typedef void (*Pfunc) (lua_State *L, void *ud); | 27 | typedef void (*Pfunc) (lua_State *L, void *ud); |
28 | 28 | ||
29 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); | 29 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, |
30 | const char *mode); | ||
30 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); | 31 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); |
31 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); | 32 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); |
32 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, | 33 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, |