summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-09-05 14:18:39 +0400
committerDmitry Stogov <dmitry@zend.com>2014-09-05 14:18:39 +0400
commit9a420f0361243e0aa42f93fd996c8f2f133c20cc (patch)
treec844a1071fabe232fb3282bd7a7f97d6620158a5 /Zend/zend_alloc.h
parent08ca9e6d118553e938af9906d07987e8913b6a5d (diff)
downloadphp-git-9a420f0361243e0aa42f93fd996c8f2f133c20cc.tar.gz
Fixed support for C++
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r--Zend/zend_alloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h
index 3b487d3138..d6d3415dd5 100644
--- a/Zend/zend_alloc.h
+++ b/Zend/zend_alloc.h
@@ -220,8 +220,6 @@ ZEND_API int is_zend_mm(TSRMLS_D);
ZEND_API size_t zend_memory_usage(int real_usage TSRMLS_DC);
ZEND_API size_t zend_memory_peak_usage(int real_usage TSRMLS_DC);
-END_EXTERN_C()
-
/* fast cache for HashTables */
#define ALLOC_HASHTABLE(ht) \
(ht) = (HashTable *) emalloc(sizeof(HashTable))
@@ -262,6 +260,8 @@ ZEND_API void zend_mm_set_custom_handlers(zend_mm_heap *heap,
void (*_free)(void*),
void* (*_realloc)(void*, size_t));
+END_EXTERN_C()
+
#endif
/*