diff options
Diffstat (limited to 'Zend/zend_ptr_stack.h')
| -rw-r--r-- | Zend/zend_ptr_stack.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_ptr_stack.h b/Zend/zend_ptr_stack.h index b03b713b05..4a77b024eb 100644 --- a/Zend/zend_ptr_stack.h +++ b/Zend/zend_ptr_stack.h @@ -31,6 +31,7 @@ typedef struct _zend_ptr_stack { #define PTR_STACK_BLOCK_SIZE 64 +BEGIN_EXTERN_C() ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack); ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...); ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...); @@ -38,6 +39,7 @@ ZEND_API void zend_ptr_stack_destroy(zend_ptr_stack *stack); ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)); ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements); ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack); +END_EXTERN_C() static inline void zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr) { |
