RE: [PHP-DEV] zend_mm_set_heap()

2007-04-25 Thread Dmitry Stogov
(see zend_mm_startup_ex()), and usage of several heaps with provided API (without access to internals). Dmitry. > -Original Message- > From: Brian Shire [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 11:19 PM > To: Dmitry Stogov > Cc: 'PHP internals

Re: [PHP-DEV] zend_mm_set_heap()

2007-04-25 Thread Brian Shire
n PHP heap, so all emalloc() function will work with new one. Thanks. Dmitry. -Original Message- From: Brian Shire [mailto:[EMAIL PROTECTED] 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

RE: [PHP-DEV] zend_mm_set_heap()

2007-04-25 Thread Dmitry Stogov
; 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 ass

[PHP-DEV] zend_mm_set_heap()

2007-04-24 Thread Brian Shire
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? - Shire