diff options
author | Zeev Suraski <zeev@php.net> | 2000-06-17 18:04:58 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-06-17 18:04:58 +0000 |
commit | 34c2b0a07c5cbd5c7ea506a1891b9264c15631d0 (patch) | |
tree | 9934a803c4c8388742bedfccb160828a6c623cdf /Zend/zend_ptr_stack.h | |
parent | 66f1be08c8d8b437e0395ea6153664a7aa25fc7f (diff) | |
download | php-git-34c2b0a07c5cbd5c7ea506a1891b9264c15631d0.tar.gz |
- Add restore_error_handler()
error_handler's are now stored in a stack
Diffstat (limited to 'Zend/zend_ptr_stack.h')
-rw-r--r-- | Zend/zend_ptr_stack.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_ptr_stack.h b/Zend/zend_ptr_stack.h index ef607c55a0..d15268829b 100644 --- a/Zend/zend_ptr_stack.h +++ b/Zend/zend_ptr_stack.h @@ -37,6 +37,7 @@ ZEND_API void *zend_ptr_stack_pop(zend_ptr_stack *stack); ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...); 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_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); #endif /* _ZEND_PTR_STACK_H */ |