cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: malloc/free.. callback functions

From: Seshubabu Pasam <pasam_at_seshubabu.com>
Date: Sun, 04 Apr 2004 23:14:57 -0700

>>I understand. This is not something I invented. I am just throwing
>>something, I came across in numerous other libraries (libxml2, PCRE ...)
>
>
> And how do their APIs for doing this look like?

Pretty much like I put it down in my previous mails. A callback that
takes the functions pointers and assign them to global variables. For
example look at xmlmemory.h on libxml2

-Seshubabu Pasam
Received on 2004-04-05