apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject types for bucket/brigade sizes (was: Re: bug in apr_brigade.c)
Date Thu, 24 Jan 2002 09:33:58 GMT
On Wed, Jan 23, 2002 at 10:26:16AM -0800, Justin Erenkrantz wrote:
> This type confusion just seems horrific.  I don't buy into this
> distinction at all.

We should do the following:

typedef apr_off_t apr_bucket_size_t;
typedef apr_off_t apr_brigade_size_t;

And then use the appropriate type. We can then monkey the underlying types
every six months when the conversaion comes up :-)

Conceivably, there are four types -- two axes: object type, and size vs.


Greg Stein, http://www.lyra.org/

View raw message