weak keys are removed only after finalization

This commit is contained in:
Roberto Ierusalimschy
2002-07-01 14:06:58 -03:00
parent 5fabed21a1
commit 9f4b5b5232
3 changed files with 53 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 1.137 2002/06/24 13:08:45 roberto Exp roberto $
** $Id: lobject.h,v 1.138 2002/06/24 20:17:59 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -217,9 +217,6 @@ typedef struct Table {
} Table;
/* unmarked tables are represented by pointing `mark' to themselves */
#define ismarked(x) ((x)->mark != (x))
/*
** `module' operation for hashing (size is always a power of 2)