diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-13 11:24:26 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-13 11:24:26 -0200 |
commit | 9a5d6aedb773a61153b07a0939d651efe8ee1753 (patch) | |
tree | d57498c48a8b68b3843c6f89e9ce963589cb8114 /ldo.h | |
parent | 89e3a843442679252773a29114c8552e3f59777d (diff) | |
download | lua-9a5d6aedb773a61153b07a0939d651efe8ee1753.tar.gz lua-9a5d6aedb773a61153b07a0939d651efe8ee1753.tar.bz2 lua-9a5d6aedb773a61153b07a0939d651efe8ee1753.zip |
trying to optimize a little 'luaD_poscall'
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.24 2015/11/02 16:09:30 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.25 2015/11/02 18:48:07 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 | */ |
@@ -44,7 +44,8 @@ LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | |||
44 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); | 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, CallInfo *ci, StkId firstResult, |
48 | int nres); | ||
48 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); | 49 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); |
49 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); | 50 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); |
50 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); | 51 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); |