[HarfBuzz] Memory Allocations

Behdad Esfahbod behdad at behdad.org
Wed Sep 12 05:49:23 PDT 2012


On 09/12/2012 07:05 AM, Samiullah Khawaja wrote:
> Hi,
> 
> How can I make harfbuzz use my custom memory management methods for memory
> allocations and deallocations.
> 
> Can I provide some function pointers to harfbuzz that it can call at runtime
> at do the memory stuff?

No.  You have to override malloc, realloc, calloc, and free (perhaps using
custom macros).  I will NOT add support for custom memory allocators since
it's almost 2013 already.

behdad



More information about the HarfBuzz mailing list