diff options
| author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-07-19 18:27:18 -0300 |
|---|---|---|
| committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-07-19 18:27:18 -0300 |
| commit | 493d718b7fe0f1075072a44d7946e38ca7d773d3 (patch) | |
| tree | 3239639a562d742002342166cce005f7d70cc503 /hash.c | |
| parent | 1c749a3059051c52c3bc24540e27b0ccbcfff273 (diff) | |
| download | lua-493d718b7fe0f1075072a44d7946e38ca7d773d3.tar.gz lua-493d718b7fe0f1075072a44d7946e38ca7d773d3.tar.bz2 lua-493d718b7fe0f1075072a44d7946e38ca7d773d3.zip | |
Uso de arvores binarias para armazenar nomes e realocacao dinamica
de tabelas (pilhas, hashtable, globais, codigo, etc.)
Diffstat (limited to 'hash.c')
| -rw-r--r-- | hash.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -4,7 +4,7 @@ | |||
| 4 | ** Luiz Henrique de Figueiredo - 17 Aug 90 | 4 | ** Luiz Henrique de Figueiredo - 17 Aug 90 |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | char *rcs_hash="$Id: hash.c,v 1.2 1994/03/28 15:14:02 celes Exp celes $"; | 7 | char *rcs_hash="$Id: hash.c,v 2.1 1994/04/20 22:07:57 celes Exp celes $"; |
| 8 | 8 | ||
| 9 | #include <string.h> | 9 | #include <string.h> |
| 10 | #include <stdlib.h> | 10 | #include <stdlib.h> |
| @@ -31,9 +31,6 @@ char *rcs_hash="$Id: hash.c,v 1.2 1994/03/28 15:14:02 celes Exp celes $"; | |||
| 31 | #define ref_nvalue(n) (nvalue(&(n)->ref)) | 31 | #define ref_nvalue(n) (nvalue(&(n)->ref)) |
| 32 | #define ref_svalue(n) (svalue(&(n)->ref)) | 32 | #define ref_svalue(n) (svalue(&(n)->ref)) |
| 33 | 33 | ||
| 34 | #ifndef ARRAYBLOCK | ||
| 35 | #define ARRAYBLOCK 50 | ||
| 36 | #endif | ||
| 37 | 34 | ||
| 38 | typedef struct ArrayList | 35 | typedef struct ArrayList |
| 39 | { | 36 | { |
