diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-08-23 14:24:34 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-08-23 14:24:34 -0300 |
commit | 3dc5475e239e2da52a380288ae8b293a6b019f81 (patch) | |
tree | 3da13bd67407f9717b5fb9a024dca38b78589bfc /lua.h | |
parent | 8a008a20579dd6818cb770147c8765b72eb2acfe (diff) | |
download | lua-3dc5475e239e2da52a380288ae8b293a6b019f81.tar.gz lua-3dc5475e239e2da52a380288ae8b293a6b019f81.tar.bz2 lua-3dc5475e239e2da52a380288ae8b293a6b019f81.zip |
'nCcalls' should be local to each thread, as each thread may have its
own C stack (with LuaThreads or something similar)
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.277 2011/04/18 14:15:48 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.278 2011/07/02 16:00:15 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 |
@@ -261,7 +261,7 @@ LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data); | |||
261 | LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx, | 261 | LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx, |
262 | lua_CFunction k); | 262 | lua_CFunction k); |
263 | #define lua_yield(L,n) lua_yieldk(L, (n), 0, NULL) | 263 | #define lua_yield(L,n) lua_yieldk(L, (n), 0, NULL) |
264 | LUA_API int (lua_resume) (lua_State *L, int narg); | 264 | LUA_API int (lua_resume) (lua_State *L, lua_State *from, int narg); |
265 | LUA_API int (lua_status) (lua_State *L); | 265 | LUA_API int (lua_status) (lua_State *L); |
266 | 266 | ||
267 | /* | 267 | /* |