apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: apr pool realloc?
Date Sat, 24 Jul 2004 15:53:30 GMT
At 04:06 AM 7/24/2004, Nick Kew wrote:

>Is there some fundamental reason why there's no apr_prealloc()?
>[...] I can't help thinking this should be
>  (a) standardised.
>  (b) optimised to work with pools.

I've thought that for some time, with the understanding that you can't
be playing in the pool you are reallocing.

See the apr_psprintf() vformatter function for apr's internal implementation,
and I'll offer a huge +1 if you care to abstract that behavior :)


View raw message