From 5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 31 Oct 2007 13:41:19 -0200 Subject: first implementation of ephemerons --- lstate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 393f477a..cffaf0a2 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.28 2007/02/07 17:48:52 roberto Exp roberto $ +** $Id: lstate.h,v 2.29 2007/10/29 16:51:20 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -78,9 +78,9 @@ typedef struct global_State { GCObject **sweepgc; /* position of sweep in `rootgc' */ GCObject *gray; /* list of gray objects */ GCObject *grayagain; /* list of objects to be traversed atomically */ - GCObject *weakvalue; /* list of value-weak tables */ - GCObject *weakkey; /* list of key-weak tables */ - GCObject *weakkeyvalue; /* list of all-weak tables */ + GCObject *weak; /* list of (something) weak tables */ + GCObject *ephemeron; /* list of ephemeron tables */ + GCObject *allweak; /* list of all-weak tables */ GCObject *tmudata; /* last element of list of userdata to be GC */ Mbuffer buff; /* temporary buffer for string concatentation */ lu_mem GCthreshold; -- cgit v1.2.3-55-g6feb