[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libihash
From: |
Neal H Walfield |
Subject: |
Re: [PATCH] libihash |
Date: |
Thu, 8 Mar 2001 23:11:39 +0100 |
User-agent: |
Mutt/1.3.12i |
> Well, you could store an ihash_t in the struct, which is a pointer.
> Why would you want to store the struct and use init/destroy? You need the
> address anyway when invocing the functions operating on it.
>
> Are you taking advantage of this in some code?
No, however, Thomas is. Take a look at proc/hash.c. He uses several
hash structures and never initializes them. He is using the assumption
that initializing everything to NULL is reasonable, which it happens to
be at the moment.
pgpkKLHwvAbpa.pgp
Description: PGP signature