aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-02 16:48:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-02 16:48:07 -0200
commitff1289a361eb2b077d0df83eaed21647444541ef (patch)
treecbbe9372b6a317c06ff1724b36734bdc45df5441 /ldo.h
parentcd73f3ccc5e85bc2b3e45477e2f6e3b705bf3c24 (diff)
downloadlua-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.h b/ldo.h
index 31986dc0..de6988fd 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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);
41LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); 41LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
42LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); 42LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
43LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, 43LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
44 int allowyield); 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, StkId firstResult, int nres);