aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-13 11:24:26 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-13 11:24:26 -0200
commit9a5d6aedb773a61153b07a0939d651efe8ee1753 (patch)
treed57498c48a8b68b3843c6f89e9ce963589cb8114 /ldo.h
parent89e3a843442679252773a29114c8552e3f59777d (diff)
downloadlua-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index de6988fd..bed54624 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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);
44LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); 44LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);
45LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, 45LUAI_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);
47LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres); 47LUAI_FUNC int luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult,
48 int nres);
48LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); 49LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
49LUAI_FUNC void luaD_growstack (lua_State *L, int n); 50LUAI_FUNC void luaD_growstack (lua_State *L, int n);
50LUAI_FUNC void luaD_shrinkstack (lua_State *L); 51LUAI_FUNC void luaD_shrinkstack (lua_State *L);