diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-09-29 10:37:29 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-09-29 10:37:29 +0000 |
| commit | ae14f6ba78e039bf7a90509e526b0867cbf3ce4a (patch) | |
| tree | d332cd6038b66c454b5a71d5496055f7e204f363 /Zend/zend_alloc.h | |
| parent | 72d0454bf6734261679439f88b1bf8c273cbee02 (diff) | |
| download | php-git-ae14f6ba78e039bf7a90509e526b0867cbf3ce4a.tar.gz | |
Added "compact" handler for Zend MM storage.
Diffstat (limited to 'Zend/zend_alloc.h')
| -rw-r--r-- | Zend/zend_alloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index ecd79d8102..8df7e95f48 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -218,6 +218,7 @@ typedef struct _zend_mm_mem_handlers { const char *name; zend_mm_storage* (*init)(void *params); void (*dtor)(zend_mm_storage *storage); + void (*compact)(zend_mm_storage *storage); zend_mm_segment* (*_alloc)(zend_mm_storage *storage, size_t size); zend_mm_segment* (*_realloc)(zend_mm_storage *storage, zend_mm_segment *ptr, size_t size); void (*_free)(zend_mm_storage *storage, zend_mm_segment *ptr); |
