diff options
Diffstat (limited to '')
-rw-r--r-- | lstate.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -138,9 +138,11 @@ typedef struct CallInfo { | |||
138 | #define CIST_YPCALL (1<<3) /* call is a yieldable protected call */ | 138 | #define CIST_YPCALL (1<<3) /* call is a yieldable protected call */ |
139 | #define CIST_TAIL (1<<4) /* call was tail called */ | 139 | #define CIST_TAIL (1<<4) /* call was tail called */ |
140 | #define CIST_HOOKYIELD (1<<5) /* last hook called yielded */ | 140 | #define CIST_HOOKYIELD (1<<5) /* last hook called yielded */ |
141 | #define CIST_LEQ (1<<6) /* using __lt for __le */ | 141 | #define CIST_FIN (1<<6) /* call is running a finalizer */ |
142 | #define CIST_FIN (1<<7) /* call is running a finalizer */ | 142 | #define CIST_TRAN (1<<7) /* 'ci' has transfer information */ |
143 | #define CIST_TRAN (1<<8) /* 'ci' has transfer information */ | 143 | #if defined(LUA_COMPAT_LT_LE) |
144 | #define CIST_LEQ (1<<8) /* using __lt for __le */ | ||
145 | #endif | ||
144 | 146 | ||
145 | /* active function is a Lua function */ | 147 | /* active function is a Lua function */ |
146 | #define isLua(ci) (!((ci)->callstatus & CIST_C)) | 148 | #define isLua(ci) (!((ci)->callstatus & CIST_C)) |