aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-11 18:03:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-11 18:03:35 -0200
commit678d2fb2ace2dbdf91fdac2752e1f4dfe73651df (patch)
treecf4ab13aee46788c66623009932f118c882d501c /lstate.h
parentaf39352632864b1961a554a560bee2c758666b2a (diff)
downloadlua-678d2fb2ace2dbdf91fdac2752e1f4dfe73651df.tar.gz
lua-678d2fb2ace2dbdf91fdac2752e1f4dfe73651df.tar.bz2
lua-678d2fb2ace2dbdf91fdac2752e1f4dfe73651df.zip
all collected userdata must go to the end of the list of finalizers
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 6c6d32e4..2ba5a91d 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.12 2005/01/14 14:19:42 roberto Exp $ 2** $Id: lstate.h,v 2.13 2005/01/18 17:18:09 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*/
@@ -77,7 +77,7 @@ typedef struct global_State {
77 GCObject *gray; /* list of gray objects */ 77 GCObject *gray; /* list of gray objects */
78 GCObject *grayagain; /* list of objects to be traversed atomically */ 78 GCObject *grayagain; /* list of objects to be traversed atomically */
79 GCObject *weak; /* list of weak tables (to be cleared) */ 79 GCObject *weak; /* list of weak tables (to be cleared) */
80 GCObject *tmudata; /* list of userdata to be GC */ 80 GCObject *tmudata; /* last element of list of userdata to be GC */
81 Mbuffer buff; /* temporary buffer for string concatentation */ 81 Mbuffer buff; /* temporary buffer for string concatentation */
82 lu_mem GCthreshold; 82 lu_mem GCthreshold;
83 lu_mem totalbytes; /* number of bytes currently allocated */ 83 lu_mem totalbytes; /* number of bytes currently allocated */