apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: Breaking something? Now is the time?
Date Fri, 28 Jun 2002 20:45:38 GMT
On Fri, 28 Jun 2002, Justin Erenkrantz wrote:

> p->alloc
> and
> #define apr_palloc(...) p->alloc

None, but that's not what we were doing with SMS.

> to the fact that we used to have a function like this:
>
> apr_palloc()
> {
>  return p->alloc();
> }


Yeah, but it did even more.  It was more like:

apr_sms_alloc(sms, size)
{
   /* ... do a bunch of stuff here ... */
   rv = sms->type->alloc(sms, size);
   /* ... do some more stuff ... */
   return rv;
}


Mime
View raw message