On Thu, Feb 28, 2002 at 12:57:50PM -0500, Cliff Woolley wrote:
>...
> The following is equivalent to the above (except it runs in constant
> time):
> 
> /* prepend ctx->ssi_tag_brigade onto bb */
> APR_BRIGADE_CONCAT(ctx->ssi_tag_brigade, bb);
> APR_BRIGADE_CONCAT(bb, ctx->ssi_tag_brigade);
> 
> But I'd be fine with adding a prepend macro in the API if others agree
> it's useful.

That is *very* obtuse. I can't imagine anybody figuring out that idiom means
"prepend". Yes, please add an appropriate macro.

thx!
-g

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

Reply via email to