new field 'next' in struct 'Hash', to list tables for garbage collection.
This commit is contained in:
3
hash.h
3
hash.h
@@ -2,7 +2,7 @@
|
|||||||
** hash.h
|
** hash.h
|
||||||
** hash manager for lua
|
** hash manager for lua
|
||||||
** Luiz Henrique de Figueiredo - 17 Aug 90
|
** Luiz Henrique de Figueiredo - 17 Aug 90
|
||||||
** $Id: hash.h,v 2.2 1994/08/05 19:25:09 celes Exp celes $
|
** $Id: hash.h,v 2.3 1994/08/09 11:24:45 celes Exp celes $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef hash_h
|
#ifndef hash_h
|
||||||
@@ -16,6 +16,7 @@ typedef struct node
|
|||||||
|
|
||||||
typedef struct Hash
|
typedef struct Hash
|
||||||
{
|
{
|
||||||
|
struct Hash *next;
|
||||||
char mark;
|
char mark;
|
||||||
unsigned int nhash;
|
unsigned int nhash;
|
||||||
unsigned int nuse;
|
unsigned int nuse;
|
||||||
|
|||||||
Reference in New Issue
Block a user