summaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
authorWaldemar Celes <celes@tecgraf.puc-rio.br>1994-09-08 13:51:49 -0300
committerWaldemar Celes <celes@tecgraf.puc-rio.br>1994-09-08 13:51:49 -0300
commit0dcae99d7401b38558997056358ca7fc6ffcc9ad (patch)
treec44397c13ff3b52b77fd241fbeff8547db9676db /hash.h
parentb826a39919ff8481c68caef1d98f6be68c145e85 (diff)
downloadlua-0dcae99d7401b38558997056358ca7fc6ffcc9ad.tar.gz
lua-0dcae99d7401b38558997056358ca7fc6ffcc9ad.tar.bz2
lua-0dcae99d7401b38558997056358ca7fc6ffcc9ad.zip
new field 'next' in struct 'Hash', to list tables for garbage collection.
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hash.h b/hash.h
index 38576527..523ff918 100644
--- a/hash.h
+++ b/hash.h
@@ -2,7 +2,7 @@
2** hash.h 2** hash.h
3** hash manager for lua 3** hash manager for lua
4** Luiz Henrique de Figueiredo - 17 Aug 90 4** Luiz Henrique de Figueiredo - 17 Aug 90
5** $Id: hash.h,v 2.2 1994/08/05 19:25:09 celes Exp celes $ 5** $Id: hash.h,v 2.3 1994/08/09 11:24:45 celes Exp celes $
6*/ 6*/
7 7
8#ifndef hash_h 8#ifndef hash_h
@@ -16,6 +16,7 @@ typedef struct node
16 16
17typedef struct Hash 17typedef struct Hash
18{ 18{
19 struct Hash *next;
19 char mark; 20 char mark;
20 unsigned int nhash; 21 unsigned int nhash;
21 unsigned int nuse; 22 unsigned int nuse;