aboutsummaryrefslogtreecommitdiff
path: root/ldo.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 /ldo.h
parent8c62bde36fe129454bc818b5ee073267f93fe4ab (diff)
downloadlua-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 2ff768db..167727bf 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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' */
27typedef void (*Pfunc) (lua_State *L, void *ud); 27typedef void (*Pfunc) (lua_State *L, void *ud);
28 28
29LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); 29LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
30 const char *mode);
30LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); 31LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
31LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); 32LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
32LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, 33LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,