mirror of
https://github.com/lua/lua
synced 2024-11-22 04:41:23 +03:00
new field 'next' in struct 'Hash', to list tables for garbage collection.
This commit is contained in:
parent
b826a39919
commit
0dcae99d74
3
hash.h
3
hash.h
@ -2,7 +2,7 @@
|
||||
** hash.h
|
||||
** hash manager for lua
|
||||
** 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
|
||||
@ -16,6 +16,7 @@ typedef struct node
|
||||
|
||||
typedef struct Hash
|
||||
{
|
||||
struct Hash *next;
|
||||
char mark;
|
||||
unsigned int nhash;
|
||||
unsigned int nuse;
|
||||
|
Loading…
Reference in New Issue
Block a user