summaryrefslogtreecommitdiff
path: root/Zend/zend_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_stack.c')
-rw-r--r--Zend/zend_stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_stack.c b/Zend/zend_stack.c
index 231f6bc0c5..3618fb1bbd 100644
--- a/Zend/zend_stack.c
+++ b/Zend/zend_stack.c
@@ -118,7 +118,7 @@ ZEND_API int zend_stack_count(zend_stack *stack)
}
-ZEND_API void zend_stack_apply(zend_stack *stack, int (*apply_function)(void *element), int type)
+ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element))
{
int i;
@@ -141,7 +141,7 @@ ZEND_API void zend_stack_apply(zend_stack *stack, int (*apply_function)(void *el
}
-ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int (*apply_function)(void *element, void *arg), int type, void *arg)
+ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg)
{
int i;