aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-08-23 14:24:34 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-08-23 14:24:34 -0300
commit3dc5475e239e2da52a380288ae8b293a6b019f81 (patch)
tree3da13bd67407f9717b5fb9a024dca38b78589bfc /lua.h
parent8a008a20579dd6818cb770147c8765b72eb2acfe (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index 2cd70ae7..349ef6ed 100644
--- a/lua.h
+++ b/lua.h
@@ -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);
261LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx, 261LUA_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)
264LUA_API int (lua_resume) (lua_State *L, int narg); 264LUA_API int (lua_resume) (lua_State *L, lua_State *from, int narg);
265LUA_API int (lua_status) (lua_State *L); 265LUA_API int (lua_status) (lua_State *L);
266 266
267/* 267/*