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
Thanks Dmitry, I think what I was going for (in a very poorly worded way) was that I'm unable to access any of the heap structure values outside of zend_alloc.c because that's where the definition resides. For example something like the following should generate a compile time error outsi

RE: [PHP-DEV] zend_mm_set_heap()

2007-04-25 Thread Dmitry Stogov
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:[EMAIL PROTECTED] > Sent: Wednesday, April 25, 2007 1:22 AM > To: PHP internals > Subject: [PHP-D