diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-23 14:41:16 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-11-23 14:41:16 -0200 |
| commit | 196c87c9cecfacf978f37de4ec69eba0a5971256 (patch) | |
| tree | ce434c8a63228cf1f25adcc2210ba741ee899887 /ldo.h | |
| parent | 39f26b1480502cc2f75a5af6e06e5410e06634ba (diff) | |
| download | lua-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -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); | |||
| 47 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, | 47 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, |
| 48 | const char *mode); | 48 | const char *mode); |
| 49 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); | 49 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); |
| 50 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); | ||
| 51 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); | 50 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); |
| 52 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | 51 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
| 53 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); | 52 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); |
