diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-02 16:48:07 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-02 16:48:07 -0200 |
commit | ff1289a361eb2b077d0df83eaed21647444541ef (patch) | |
tree | cbbe9372b6a317c06ff1724b36734bdc45df5441 /ldo.h | |
parent | cd73f3ccc5e85bc2b3e45477e2f6e3b705bf3c24 (diff) | |
download | lua-ff1289a361eb2b077d0df83eaed21647444541ef.tar.gz lua-ff1289a361eb2b077d0df83eaed21647444541ef.tar.bz2 lua-ff1289a361eb2b077d0df83eaed21647444541ef.zip |
in 'luaD_call', use two functions instead of one with fixed boolean
argument
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.23 2015/10/21 18:40:47 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.24 2015/11/02 16:09:30 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 | */ |
@@ -40,8 +40,8 @@ LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, | |||
40 | const char *mode); | 40 | const char *mode); |
41 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); | 41 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); |
42 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); | 42 | LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); |
43 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, | 43 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
44 | int allowyield); | 44 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); |
45 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, | 45 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, |
46 | ptrdiff_t oldtop, ptrdiff_t ef); | 46 | ptrdiff_t oldtop, ptrdiff_t ef); |
47 | LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres); | 47 | LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres); |