diff options
| author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-09-08 13:51:49 -0300 |
|---|---|---|
| committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-09-08 13:51:49 -0300 |
| commit | 0dcae99d7401b38558997056358ca7fc6ffcc9ad (patch) | |
| tree | c44397c13ff3b52b77fd241fbeff8547db9676db | |
| parent | b826a39919ff8481c68caef1d98f6be68c145e85 (diff) | |
| download | lua-0dcae99d7401b38558997056358ca7fc6ffcc9ad.tar.gz lua-0dcae99d7401b38558997056358ca7fc6ffcc9ad.tar.bz2 lua-0dcae99d7401b38558997056358ca7fc6ffcc9ad.zip | |
new field 'next' in struct 'Hash', to list tables for garbage collection.
| -rw-r--r-- | hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 | ||
| 17 | typedef struct Hash | 17 | typedef 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; |
