apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: (fwd) [patch] Add a new apr_hash_clear() API
Date Tue, 12 Sep 2006 14:11:07 GMT
On 9/8/06, Daniel L. Rall <dlr@finemaltcoding.com> wrote:

> Date: Wed, 6 Sep 2006 15:45:03 -0700
> From: "Daniel L. Rall" <dlr@apache.org>
> To: dev@apr.apache.org
> Cc: Garrett Rooney <rooneg@apache.org>
> Subject: [patch] Add a new apr_hash_clear() API
>
> Over in Subversion-land, I've wanted to re-use APR hashes a few times
> (to avoid re-allocating them, or inlining the code necessary to
> clear'em), and have always been baffled by the fact that there's no
> convenience API to clear them.  Here's a patch which adds such an API,
> with accompanying unit test.

(Dan tried to send this to the list last week, but had some email
problems, so he forwarded it to me directly.  Just CCing the list so
his justification for the patch I just committed is recorded
someplace.)

Committed in r442588, thanks Dan.

-garrett

Mime
View raw message