It seems like zend_mm_set_heap() isn't very useful outside
zend_alloc.c because the zend_mm_heap structure definition is within
the zend_alloc.c file rather than zend_alloc.h. Could we move the AG
() and associated structures to the header file, or perhaps I missed
something?
You probably missed.
This function can be used to substitute main PHP heap, so all emalloc()
function will work with new one.
Thanks. Dmitry.
-----Original Message-----
From: Brian Shire [mailto:shire@facebook.com]
Sent: Wednesday, April 25, 2007 1:22 AM
To: PHP internals
Subject: [PHP-DEV] zend_mm_set_heap()It seems like zend_mm_set_heap() isn't very useful outside
zend_alloc.c because the zend_mm_heap structure definition is within
the zend_alloc.c file rather than zend_alloc.h. Could we move the AG
() and associated structures to the header file, or perhaps I missed
something?