diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-03-10 14:14:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-03-10 14:14:37 -0300 |
commit | ba484b9eb16dd62a7c3a5400a66eb952b654d3f0 (patch) | |
tree | 31692ddf85265e5a46eab0cd55a0b0757a225e68 /ldo.h | |
parent | f9d015523ef48266cea37e13717c223c16941b23 (diff) | |
download | lua-ba484b9eb16dd62a7c3a5400a66eb952b654d3f0.tar.gz lua-ba484b9eb16dd62a7c3a5400a66eb952b654d3f0.tar.bz2 lua-ba484b9eb16dd62a7c3a5400a66eb952b654d3f0.zip |
yielding across lua_call (first version)
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.9 2008/07/03 14:24:36 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.10 2008/08/13 17:02:42 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 | */ |
@@ -34,7 +34,8 @@ typedef void (*Pfunc) (lua_State *L, void *ud); | |||
34 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); | 34 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); |
35 | LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line); | 35 | LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line); |
36 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); | 36 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); |
37 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | 37 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, |
38 | int allowyield); | ||
38 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, | 39 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, |
39 | ptrdiff_t oldtop, ptrdiff_t ef); | 40 | ptrdiff_t oldtop, ptrdiff_t ef); |
40 | LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult); | 41 | LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult); |