From 9db1942bac5fb509c6e46ccc825351a6be546792 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 4 Dec 2003 15:22:42 -0200 Subject: sweep of strings also incremental --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index a0d49c65..c44828b6 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.116 2003/12/03 12:30:41 roberto Exp roberto $ +** $Id: lstate.h,v 1.117 2003/12/03 20:03:07 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -101,6 +101,7 @@ typedef struct global_State { GCObject *rootgc; /* list of all collectable objects */ GCObject *firstudata; /* udata go to the end of `rootgc' */ GCObject **sweepgc; /* position of sweep in `rootgc' */ + int sweepstrgc; /* position of sweep in `strt' */ GCObject *gray; /* list of gray objects */ GCObject *weak; /* list of weak tables (to be cleared) */ GCObject *tmudata; /* list of userdata to be GC */ -- cgit v1.2.3-55-g6feb