summaryrefslogtreecommitdiff
path: root/Zend/zend_llist.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-31 04:53:54 +0000
committerZeev Suraski <zeev@php.net>2001-07-31 04:53:54 +0000
commitd76cf1da183f79711d7699a2ff85f743da3f9dd2 (patch)
tree8342fd3406696bc32b81deb28d6771336fb6fe36 /Zend/zend_llist.h
parent7bc71f442d7ddfecf43871b394c14100baa391b3 (diff)
downloadphp-git-d76cf1da183f79711d7699a2ff85f743da3f9dd2.tar.gz
More TSRMLS_FETCH work
Diffstat (limited to 'Zend/zend_llist.h')
-rw-r--r--Zend/zend_llist.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend_llist.h b/Zend/zend_llist.h
index 420c214e1a..63bf647483 100644
--- a/Zend/zend_llist.h
+++ b/Zend/zend_llist.h
@@ -31,9 +31,9 @@ typedef struct _zend_llist_element {
typedef void (*llist_dtor_func_t)(void *);
typedef int (*llist_compare_func_t)(const zend_llist_element *, const zend_llist_element *);
-typedef void (*llist_apply_with_arg_func_t)(void *data, void *arg);
-typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args);
-typedef void (*llist_apply_func_t)(void *);
+typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args TSRMLS_DC);
+typedef void (*llist_apply_with_arg_func_t)(void *data, void *arg TSRMLS_DC);
+typedef void (*llist_apply_func_t)(void * TSRMLS_DC);
typedef struct _zend_llist {
zend_llist_element *head;
@@ -55,10 +55,10 @@ ZEND_API void zend_llist_destroy(zend_llist *l);
ZEND_API void zend_llist_clean(zend_llist *l);
ZEND_API void zend_llist_remove_tail(zend_llist *l);
ZEND_API void zend_llist_copy(zend_llist *dst, zend_llist *src);
-ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t);
+ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func TSRMLS_DC);
ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data));
-ZEND_API void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t, void *arg);
-ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int num_args, ...);
+ZEND_API void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void *arg TSRMLS_DC);
+ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func TSRMLS_DC, int num_args, ...);
ZEND_API int zend_llist_count(zend_llist *l);
ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func);