aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 14:41:16 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-23 14:41:16 -0200
commit196c87c9cecfacf978f37de4ec69eba0a5971256 (patch)
treece434c8a63228cf1f25adcc2210ba741ee899887 /ldo.h
parent39f26b1480502cc2f75a5af6e06e5410e06634ba (diff)
downloadlua-196c87c9cecfacf978f37de4ec69eba0a5971256.tar.gz
lua-196c87c9cecfacf978f37de4ec69eba0a5971256.tar.bz2
lua-196c87c9cecfacf978f37de4ec69eba0a5971256.zip
no more 'stackless' implementation; 'luaV_execute' calls itself
recursively to execute function calls. 'unroll' continues all executions suspended by an yield (through a long jump)
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 2640c088..4fba45b5 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.33 2017/11/07 13:25:26 roberto Exp roberto $ 2** $Id: ldo.h,v 2.34 2017/11/21 14:18:03 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*/
@@ -47,7 +47,6 @@ typedef void (*Pfunc) (lua_State *L, void *ud);
47LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, 47LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
48 const char *mode); 48 const char *mode);
49LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); 49LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
50LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
51LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); 50LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n);
52LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); 51LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
53LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); 52LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);