Branch: Tag:

2001-07-04

2001-07-04 07:02:09 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

saner hashing

Rev: src/block_alloc.h:1.28
Rev: src/block_alloc_h.h:1.9

11:   #define PTR_HASH_ALLOC(DATA,BSIZE) \   BLOCK_ALLOC(DATA,BSIZE) \   extern struct DATA **PIKE_CONCAT(DATA,_hash_table); \ - extern ptrdiff_t PIKE_CONCAT(DATA,_hash_table_size); \ + extern size_t PIKE_CONCAT(DATA,_hash_table_size); \   struct DATA *PIKE_CONCAT(find_,DATA)(void *ptr); \   struct DATA *PIKE_CONCAT(get_,DATA)(void *ptr); \   int PIKE_CONCAT3(check_,DATA,_semafore)(void *ptr); \