aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-06-10 16:18:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-06-10 16:18:50 -0300
commit88a9e51f3431548833772207242f9c804fb8e44d (patch)
tree260f1dccf6f7e6efe4326bfb45f695e9558a5a13 /lstate.h
parent8b5940e7ca6a1233b81d850411261c22f2a7a657 (diff)
downloadlua-88a9e51f3431548833772207242f9c804fb8e44d.tar.gz
lua-88a9e51f3431548833772207242f9c804fb8e44d.tar.bz2
lua-88a9e51f3431548833772207242f9c804fb8e44d.zip
bit-field CIST_YIELDED removed (it was never consulted)
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/lstate.h b/lstate.h
index bc9c454b..b03ed4f8 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.104 2014/06/10 17:41:38 roberto Exp roberto $ 2** $Id: lstate.h,v 2.105 2014/06/10 18:51:21 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -84,11 +84,10 @@ typedef struct CallInfo {
84#define CIST_HOOKED (1<<1) /* call is running a debug hook */ 84#define CIST_HOOKED (1<<1) /* call is running a debug hook */
85#define CIST_REENTRY (1<<2) /* call is running on same invocation of 85#define CIST_REENTRY (1<<2) /* call is running on same invocation of
86 luaV_execute of previous call */ 86 luaV_execute of previous call */
87#define CIST_YIELDED (1<<3) /* call reentered after suspension */ 87#define CIST_YPCALL (1<<3) /* call is a yieldable protected call */
88#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */ 88#define CIST_TAIL (1<<4) /* call was tail called */
89#define CIST_TAIL (1<<5) /* call was tail called */ 89#define CIST_HOOKYIELD (1<<5) /* last hook called yielded */
90#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */ 90#define CIST_OAH (1<<6) /* original value of 'allowhook' */
91#define CIST_OAH (1<<7) /* original value of 'allowhook' */
92 91
93 92
94#define isLua(ci) ((ci)->callstatus & CIST_LUA) 93#define isLua(ci) ((ci)->callstatus & CIST_LUA)