Re: Apr array functions

2004-11-08 Thread Cliff Woolley
On Mon, 8 Nov 2004, Nathanael Noblet wrote: so that someone can use the array elements without removing them? Is there something I don't know that gives a reason why this is bad? You don't have to remove elements to get at them... the array header structure is visible to the application, so it

Re: Apr array functions

2004-11-08 Thread Cliff Woolley
Btw: didn't notice ahead of time that this discussion was on [EMAIL PROTECTED] instead of [EMAIL PROTECTED] Oh well. On Mon, 8 Nov 2004, Cliff Woolley wrote: You don't have to remove elements to get at them... the array header structure is visible to the application, so it can just do

Re: Apr array functions

2004-11-08 Thread Nathanael Noblet
On Nov 8, 2004, at 5:50 PM, Cliff Woolley wrote: Btw: didn't notice ahead of time that this discussion was on [EMAIL PROTECTED] instead of [EMAIL PROTECTED] Oh well. I didn't know there was one specifically for that, I had noticed a good deal of message dealing with APR so figured it would be

Re: Apr array functions

2004-11-08 Thread Cliff Woolley
On Mon, 8 Nov 2004, Nathanael Noblet wrote: Though your assumption about the function I typed in my email, I did type it off the top of my head thus the typos, lots of logic in there is actually from the apr_array_pop() function. If you didn't like the arithmetic on those structure members,