Skip to content

Commit

Permalink
EXTERN_C wrapping for GC buffer APIs
Browse files Browse the repository at this point in the history
Closes GH-6502.
  • Loading branch information
twose committed Dec 10, 2020
1 parent c95680d commit 26c7b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zend/zend_gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
Expand Down Expand Up @@ -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 */

0 comments on commit 26c7b94

Please sign in to comment.