summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-23 03:32:33 +0000
committerZeev Suraski <zeev@php.net>1999-04-23 03:32:33 +0000
commit1aa2c5c0b4457cf7f275571defe908859328f950 (patch)
treed8a113ad58b7371136105c53f1a826f869326c5c /Zend/zend_alloc.h
parentcad2318a549dff68a7c4d36b5b6b8924f57e6547 (diff)
downloadphp-git-1aa2c5c0b4457cf7f275571defe908859328f950.tar.gz
Ok, call me crazy, because I probably am.
Thread safe version now uses a C++ scanner object. Works fully.
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r--Zend/zend_alloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h
index 85492a2c43..161c4685f4 100644
--- a/Zend/zend_alloc.h
+++ b/Zend/zend_alloc.h
@@ -51,6 +51,8 @@ typedef union {
ZEND_API char *zend_strndup(const char *s, unsigned int length);
+BEGIN_EXTERN_C()
+
#if ZEND_DEBUG
ZEND_API void *_emalloc(size_t size,char *filename,uint lineno);
ZEND_API void _efree(void *ptr,char *filename,uint lineno);
@@ -109,6 +111,8 @@ ZEND_API void _full_mem_check(int silent, char *filename, uint lineno);
#endif
+END_EXTERN_C()
+
#endif
/*