[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libihash
From: |
Marcus Brinkmann |
Subject: |
Re: [PATCH] libihash |
Date: |
Sat, 3 Mar 2001 14:52:40 +0100 |
User-agent: |
Mutt/1.3.15i |
On Tue, Feb 27, 2001 at 04:11:31PM +0100, Neal H Walfield wrote:
> This patch allows users of the ihash library to include the ihash
> structure directly in user structures, i.e.:
>
> struct foo
> {
> struct ihash;
> };
>
> Whereas before, this was not possible.
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?
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- Re: [PATCH] libihash,
Marcus Brinkmann <=