summaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-03-10 14:14:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-03-10 14:14:37 -0300
commitba484b9eb16dd62a7c3a5400a66eb952b654d3f0 (patch)
tree31692ddf85265e5a46eab0cd55a0b0757a225e68 /ldo.h
parentf9d015523ef48266cea37e13717c223c16941b23 (diff)
downloadlua-ba484b9eb16dd62a7c3a5400a66eb952b654d3f0.tar.gz
lua-ba484b9eb16dd62a7c3a5400a66eb952b654d3f0.tar.bz2
lua-ba484b9eb16dd62a7c3a5400a66eb952b654d3f0.zip
yielding across lua_call (first version)
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 ad86a09c..c600bfe4 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.9 2008/07/03 14:24:36 roberto Exp roberto $ 2** $Id: ldo.h,v 2.10 2008/08/13 17:02:42 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*/
@@ -34,7 +34,8 @@ typedef void (*Pfunc) (lua_State *L, void *ud);
34LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); 34LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name);
35LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line); 35LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line);
36LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); 36LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
37LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); 37LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
38 int allowyield);
38LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, 39LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
39 ptrdiff_t oldtop, ptrdiff_t ef); 40 ptrdiff_t oldtop, ptrdiff_t ef);
40LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult); 41LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);