aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index d2f23839..533d6ad6 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.138 2017/04/19 17:02:50 roberto Exp roberto $ 2** $Id: lstate.h,v 2.139 2017/04/24 16:59:26 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*/
@@ -43,7 +43,8 @@
43** 'weak': tables with weak values to be cleared; 43** 'weak': tables with weak values to be cleared;
44** 'ephemeron': ephemeron tables with white->white entries; 44** 'ephemeron': ephemeron tables with white->white entries;
45** 'allweak': tables with weak keys and/or weak values to be cleared. 45** 'allweak': tables with weak keys and/or weak values to be cleared.
46** The last three lists are used only during the atomic phase. 46** There is also a list 'protogray' for prototypes that need to have
47** their caches cleared.
47 48
48*/ 49*/
49 50
@@ -159,6 +160,7 @@ typedef struct global_State {
159 GCObject *weak; /* list of tables with weak values */ 160 GCObject *weak; /* list of tables with weak values */
160 GCObject *ephemeron; /* list of ephemeron tables (weak keys) */ 161 GCObject *ephemeron; /* list of ephemeron tables (weak keys) */
161 GCObject *allweak; /* list of all-weak tables */ 162 GCObject *allweak; /* list of all-weak tables */
163 GCObject *protogray; /* list of prototypes with "new" caches */
162 GCObject *tobefnz; /* list of userdata to be GC */ 164 GCObject *tobefnz; /* list of userdata to be GC */
163 GCObject *fixedgc; /* list of objects not to be collected */ 165 GCObject *fixedgc; /* list of objects not to be collected */
164 /* fields for generational collector */ 166 /* fields for generational collector */