aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index a8923ca3..40c3ac16 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.67 2010/09/30 17:21:31 roberto Exp roberto $ 2** $Id: lstate.h,v 2.68 2010/10/29 17:52:46 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*/
@@ -32,9 +32,9 @@
32** when traversing the respective threads, but the thread may already be 32** when traversing the respective threads, but the thread may already be
33** dead, while the upvalue is still accessible through closures.) 33** dead, while the upvalue is still accessible through closures.)
34** 34**
35** Userdata with finalizers are kept in the list g->udgc. 35** Objects with finalizers are kept in the list g->finobj.
36** 36**
37** The list g->tobefnz links all userdata being finalized. 37** The list g->tobefnz links all objects being finalized.
38 38
39*/ 39*/
40 40
@@ -125,7 +125,7 @@ typedef struct global_State {
125 lu_byte gckind; /* kind of GC running */ 125 lu_byte gckind; /* kind of GC running */
126 int sweepstrgc; /* position of sweep in `strt' */ 126 int sweepstrgc; /* position of sweep in `strt' */
127 GCObject *allgc; /* list of all collectable objects */ 127 GCObject *allgc; /* list of all collectable objects */
128 GCObject *udgc; /* list of collectable userdata with finalizers */ 128 GCObject *finobj; /* list of collectable objects with finalizers */
129 GCObject **sweepgc; /* current position of sweep */ 129 GCObject **sweepgc; /* current position of sweep */
130 GCObject *gray; /* list of gray objects */ 130 GCObject *gray; /* list of gray objects */
131 GCObject *grayagain; /* list of objects to be traversed atomically */ 131 GCObject *grayagain; /* list of objects to be traversed atomically */