diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -324,6 +324,12 @@ struct lua_State { | |||
324 | 324 | ||
325 | #define G(L) (L->l_G) | 325 | #define G(L) (L->l_G) |
326 | 326 | ||
327 | /* | ||
328 | ** 'g->nilvalue' being a nil value flags that the state was completely | ||
329 | ** build. | ||
330 | */ | ||
331 | #define completestate(g) ttisnil(&g->nilvalue) | ||
332 | |||
327 | 333 | ||
328 | /* | 334 | /* |
329 | ** Union of all collectable objects (only for conversions) | 335 | ** Union of all collectable objects (only for conversions) |