summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r--Zend/zend_alloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h
index 8df7e95f48..bdc051887c 100644
--- a/Zend/zend_alloc.h
+++ b/Zend/zend_alloc.h
@@ -233,6 +233,11 @@ ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers,
ZEND_API zend_mm_heap *zend_mm_set_heap(zend_mm_heap *new_heap TSRMLS_DC);
ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
+ZEND_API void zend_mm_set_custom_handlers(zend_mm_heap *heap,
+ void* (*malloc)(size_t),
+ void (*free)(void*),
+ void* (realloc)(void*, size_t));
+
#endif
/*