apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: APR_ARRAY_FOO convenience macros
Date Wed, 17 Aug 2005 06:26:14 GMT
On Mon, Aug 15, 2005 at 07:24:29PM -0700, Garrett Rooney wrote:
> So back in Dec 2003 Sander Striker suggested [1] adding Subversion's 
> macros for manipulating apr arrays (APR_ARRAY_IDX, which automates the 
> casting needed to access entries in the array, and APR_ARRAY_PUSH, which 
> automates the casting needed to add entries to the array) to 
> apr_tables.h.  Roy Fielding commented [2] that he felt the macros tied 
> the interface to the implementation too much, and Greg Stein replied [3] 
> that they had to be done as macros, not functions, because of the need 
> to pass a type name for the cast.  Conversation sort of died off there.

+1 to adding these.

joe

Mime
View raw message