aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-15 13:34:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-15 13:34:29 -0200
commit0682fe816929da2e5abe8e191ad9c8509e6bfc12 (patch)
treebac8b079fde63e7f2e436e51ed6fd571dfd6f195 /ldo.h
parentb1379936cf35787d3ef3aab82d1607a3e1562eef (diff)
downloadlua-0682fe816929da2e5abe8e191ad9c8509e6bfc12.tar.gz
lua-0682fe816929da2e5abe8e191ad9c8509e6bfc12.tar.bz2
lua-0682fe816929da2e5abe8e191ad9c8509e6bfc12.zip
some simplifications/optimizations in returns from Lua functions
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ldo.h b/ldo.h
index 864cf3e6..9d976b32 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.40 2018/02/06 19:16:56 roberto Exp roberto $ 2** $Id: ldo.h,v 2.41 2018/02/09 15:16:06 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*/
@@ -62,10 +62,7 @@ LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
62 ptrdiff_t oldtop, ptrdiff_t ef); 62 ptrdiff_t oldtop, ptrdiff_t ef);
63LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, 63LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult,
64 int nres); 64 int nres);
65LUAI_FUNC void luaD_rethook (lua_State *L, CallInfo *ci);
66LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); 65LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror);
67LUAI_FUNC void luaD_moveresults (lua_State *L, StkId firstResult, StkId res,
68 int nres, int wanted);
69LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); 66LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror);
70LUAI_FUNC void luaD_shrinkstack (lua_State *L); 67LUAI_FUNC void luaD_shrinkstack (lua_State *L);
71LUAI_FUNC void luaD_inctop (lua_State *L); 68LUAI_FUNC void luaD_inctop (lua_State *L);