summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authortwosee <twose@qq.com>2020-12-10 17:16:08 +0800
committertwosee <twose@qq.com>2020-12-10 17:16:08 +0800
commita38aaf6cbdd1d966c186318df063a103b7540db8 (patch)
tree55f98ce32ae4c85718baa257b92e631c900095ec /Zend
parentbbd65c1ac701d70712d9ff2e80a2a8ab73c05037 (diff)
parent26c7b9402da7308e92d7cecd3bebd465341467c5 (diff)
downloadphp-git-a38aaf6cbdd1d966c186318df063a103b7540db8.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: EXTERN_C wrapping for GC buffer APIs
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_gc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_gc.h b/Zend/zend_gc.h
index b334173763..f44786425f 100644
--- a/Zend/zend_gc.h
+++ b/Zend/zend_gc.h
@@ -55,8 +55,6 @@ void gc_reset(void);
size_t zend_gc_globals_size(void);
#endif
-END_EXTERN_C()
-
#define GC_REMOVE_FROM_BUFFER(p) do { \
zend_refcounted *_p = (zend_refcounted*)(p); \
if (GC_TYPE_INFO(_p) & GC_INFO_MASK) { \
@@ -122,4 +120,6 @@ static zend_always_inline void zend_get_gc_buffer_use(
*n = gc_buffer->cur - gc_buffer->start;
}
+END_EXTERN_C()
+
#endif /* ZEND_GC_H */