diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-12-20 19:20:36 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-12-20 19:20:36 -0200 |
commit | 8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490 (patch) | |
tree | 13d09f704662cafa2597e77c92611b468e4741c9 /hash.h | |
parent | fe8338335dfb4bf37e6b164cb55bfcc94ec6563d (diff) | |
download | lua-8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490.tar.gz lua-8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490.tar.bz2 lua-8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490.zip |
better control of integer types and their limits
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 12 |
1 files changed, 6 insertions, 6 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.5 1994/11/14 18:41:15 roberto Exp roberto $ | 5 | ** $Id: hash.h,v 2.6 1994/11/17 13:58:57 roberto Stab roberto $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifndef hash_h | 8 | #ifndef hash_h |
@@ -18,16 +18,16 @@ typedef struct Hash | |||
18 | { | 18 | { |
19 | struct Hash *next; | 19 | struct Hash *next; |
20 | char mark; | 20 | char mark; |
21 | unsigned int nhash; | 21 | Word nhash; |
22 | unsigned int nuse; | 22 | Word nuse; |
23 | Node *node; | 23 | Node *node; |
24 | } Hash; | 24 | } Hash; |
25 | 25 | ||
26 | 26 | ||
27 | int lua_equalObj (Object *t1, Object *t2); | 27 | Bool lua_equalObj (Object *t1, Object *t2); |
28 | Hash *lua_createarray (int nhash); | 28 | Hash *lua_createarray (Word nhash); |
29 | void lua_hashmark (Hash *h); | 29 | void lua_hashmark (Hash *h); |
30 | int lua_hashcollector (void); | 30 | Word lua_hashcollector (void); |
31 | Object *lua_hashget (Hash *t, Object *ref); | 31 | Object *lua_hashget (Hash *t, Object *ref); |
32 | Object *lua_hashdefine (Hash *t, Object *ref); | 32 | Object *lua_hashdefine (Hash *t, Object *ref); |
33 | void lua_next (void); | 33 | void lua_next (void); |