Re: zend_mm_set_heap()
| From: | Brian Shire | Date: | Wed, 25 Apr 2007 19:18:59 +0000 |
| Subject: | Re: zend_mm_set_heap() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29022@lists.php.net to get a copy of this message | ||
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 outside zend_alloc.c:
zend_mm_heap *heap;
heap->overflow=0;
I've attached a rough patch of what I did to make this accessible outside zend_alloc.c.
-shire