aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lstate.h b/lstate.h
index f3d791ab..5ef55355 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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)