From 8faf4d1de2cbda61ae871fc23091deff3672e0fc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Thu, 12 Jan 1995 12:19:04 -0200 Subject: control of garbage collection is done with Longs, as there can be more than WORD objects to collect. --- hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index db87645b..e5a0a485 100644 --- a/hash.c +++ b/hash.c @@ -3,7 +3,7 @@ ** hash manager for lua */ -char *rcs_hash="$Id: hash.c,v 2.21 1994/12/16 15:55:04 roberto Exp roberto $"; +char *rcs_hash="$Id: hash.c,v 2.22 1994/12/20 21:20:36 roberto Exp roberto $"; #include "mem.h" #include "opcode.h" @@ -185,10 +185,10 @@ static void call_fallbacks (void) ** Garbage collection to arrays ** Delete all unmarked arrays. */ -Word lua_hashcollector (void) +Long lua_hashcollector (void) { Hash *curr_array = listhead, *prev = NULL; - Word counter = 0; + Long counter = 0; call_fallbacks(); while (curr_array != NULL) { -- cgit v1.2.3-55-g6feb