On 9/8/06, Daniel L. Rall <[email protected]> wrote:

Date: Wed, 6 Sep 2006 15:45:03 -0700
From: "Daniel L. Rall" <[EMAIL PROTECTED]>
To: [email protected]
Cc: Garrett Rooney <[EMAIL PROTECTED]>
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

Reply via email to