diff options
author | Nikita Popov <nikic@php.net> | 2014-04-30 20:48:02 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-05-01 09:08:30 +0200 |
commit | e0247de14701e38853a2a93b9763d60dd1df9bc8 (patch) | |
tree | b6da1f818a5ae06951a27e25368d1ea09fe7aea1 /Zend/zend_stack.h | |
parent | 5a03efe2790cc935d4d8ca723bd21ce8c079fbd4 (diff) | |
download | php-git-e0247de14701e38853a2a93b9763d60dd1df9bc8.tar.gz |
zend_stack_top() now returns pointer directly
Diffstat (limited to 'Zend/zend_stack.h')
-rw-r--r-- | Zend/zend_stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_stack.h b/Zend/zend_stack.h index 3932136aac..6700053258 100644 --- a/Zend/zend_stack.h +++ b/Zend/zend_stack.h @@ -33,7 +33,7 @@ typedef struct _zend_stack { BEGIN_EXTERN_C() ZEND_API int zend_stack_init(zend_stack *stack, int size); ZEND_API int zend_stack_push(zend_stack *stack, const void *element); -ZEND_API int zend_stack_top(const zend_stack *stack, void **element); +ZEND_API void *zend_stack_top(const zend_stack *stack); ZEND_API int zend_stack_del_top(zend_stack *stack); ZEND_API int zend_stack_int_top(const zend_stack *stack); ZEND_API int zend_stack_is_empty(const zend_stack *stack); |