Juergen Boemmels <[EMAIL PROTECTED]> wrote:
> Hi,

> the latest changes of HASH in src/hash.c makes t/src/hash.t fail
> badly.

Oops, sorry (but at least it isn't the only broken test currently :)

> But I still have one problem: hash_put and hash_get are not
> symmetric. hash_put puts a void *value, but hash_get returns a
> HASHBUCKET. This looks wrong to me.

When returning the value directly, we couldn't have NULL value's - or
better NULL values and no entry at all would have the same return
result.

Additionally the returned bucket has the key inside, which could be
useful.

> boe

leo

Reply via email to