aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-02 09:28:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-11-02 09:28:56 -0200
commitba36180fd7b68341ad57e0fbe7a55cdfb334908d (patch)
treec99f2d1335c90aad7015475e64cecbea889cefcc /lua.h
parentb9e76be8a691ed83a716a85c6b85cb80f66cc480 (diff)
downloadlua-ba36180fd7b68341ad57e0fbe7a55cdfb334908d.tar.gz
lua-ba36180fd7b68341ad57e0fbe7a55cdfb334908d.tar.bz2
lua-ba36180fd7b68341ad57e0fbe7a55cdfb334908d.zip
new API for 'lua_resume' + cleaning the uses of the 'extra' field in
'CallInfo'
Diffstat (limited to '')
-rw-r--r--lua.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index eb76a27f..be99e14c 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.335 2017/05/26 19:14:29 roberto Exp roberto $ 2** $Id: lua.h,v 1.336 2017/07/27 13:36:54 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -288,7 +288,8 @@ LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data, int strip);
288*/ 288*/
289LUA_API int (lua_yieldk) (lua_State *L, int nresults, lua_KContext ctx, 289LUA_API int (lua_yieldk) (lua_State *L, int nresults, lua_KContext ctx,
290 lua_KFunction k); 290 lua_KFunction k);
291LUA_API int (lua_resume) (lua_State *L, lua_State *from, int narg); 291LUA_API int (lua_resume) (lua_State *L, lua_State *from, int narg,
292 int *nres);
292LUA_API int (lua_status) (lua_State *L); 293LUA_API int (lua_status) (lua_State *L);
293LUA_API int (lua_isyieldable) (lua_State *L); 294LUA_API int (lua_isyieldable) (lua_State *L);
294 295