mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fixed support for C++
This commit is contained in:
parent
08ca9e6d11
commit
9a420f0361
1 changed files with 2 additions and 2 deletions
|
@ -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_usage(int real_usage TSRMLS_DC);
|
||||||
ZEND_API size_t zend_memory_peak_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 */
|
/* fast cache for HashTables */
|
||||||
#define ALLOC_HASHTABLE(ht) \
|
#define ALLOC_HASHTABLE(ht) \
|
||||||
(ht) = (HashTable *) emalloc(sizeof(HashTable))
|
(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 (*_free)(void*),
|
||||||
void* (*_realloc)(void*, size_t));
|
void* (*_realloc)(void*, size_t));
|
||||||
|
|
||||||
|
END_EXTERN_C()
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue