diff options
author | Andi Gutmans <andi@php.net> | 2000-10-18 20:15:53 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-10-18 20:15:53 +0000 |
commit | 928da7104699a28ad1a934306d9d6cb7e63ddb18 (patch) | |
tree | 4da1ae984161562db7070d9da204d448ca3e2100 /Zend/zend_llist.h | |
parent | ffc6e72604cf3401c65f2856445cb69a3f40471a (diff) | |
download | php-git-928da7104699a28ad1a934306d9d6cb7e63ddb18.tar.gz |
- Try #2. Wasn't allowed to delete in the previous manner because we were
in the middle of an llist_apply()
Diffstat (limited to 'Zend/zend_llist.h')
-rw-r--r-- | Zend/zend_llist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_llist.h b/Zend/zend_llist.h index 2e80331855..6b18bfba62 100644 --- a/Zend/zend_llist.h +++ b/Zend/zend_llist.h @@ -55,6 +55,7 @@ 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_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 int zend_llist_count(zend_llist *l); |