From 678d2fb2ace2dbdf91fdac2752e1f4dfe73651df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 11 Feb 2005 18:03:35 -0200 Subject: all collected userdata must go to the end of the list of finalizers --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 6c6d32e4..2ba5a91d 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.12 2005/01/14 14:19:42 roberto Exp $ +** $Id: lstate.h,v 2.13 2005/01/18 17:18:09 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -77,7 +77,7 @@ typedef struct global_State { GCObject *gray; /* list of gray objects */ GCObject *grayagain; /* list of objects to be traversed atomically */ GCObject *weak; /* list of weak tables (to be cleared) */ - GCObject *tmudata; /* list of userdata to be GC */ + GCObject *tmudata; /* last element of list of userdata to be GC */ Mbuffer buff; /* temporary buffer for string concatentation */ lu_mem GCthreshold; lu_mem totalbytes; /* number of bytes currently allocated */ -- cgit v1.2.3-55-g6feb