Cliff Woolley <[EMAIL PROTECTED]> writes:

> On Mon, 20 Sep 2004, Joe Schaefer wrote:
> 
> > Thanks, Cliff.  I guess I was getting confused by the
> > warnings in the apr_ring.h docs.
> 
> If you can be more specific about what part confused you, I'd be happy to
> rewrite said docs.  If they're confusing as they stand, it's probably my
> fault anyway.  :)

Pretty much all the @warning sections that begin with
"This doesn't work...", i.e.

/**
 * Insert the element nep into the ring before element lep
 *   (..lep.. becomes ..nep..lep..)
 * @warning This doesn't work for inserting before the first element or on
 *   empty rings... see APR_RING_INSERT_HEAD for one that does
 * @param lep  Element in the ring to insert before
 * @param nep  Element to insert
 * @param link The name of the APR_RING_ENTRY in the element struct
 */
#define APR_RING_INSERT_BEFORE(lep, nep, link)                          \
        APR_RING_SPLICE_BEFORE((lep), (nep), (nep), link)


Is the warning above really necessary now?

-- 
Joe Schaefer

Reply via email to