diff options
author | Zeev Suraski <zeev@php.net> | 1999-11-26 23:44:41 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-11-26 23:44:41 +0000 |
commit | cd5394443585707ea591376017fece7c30be8f50 (patch) | |
tree | 5305aa2c1eca731158289575868ecfd6ed9cf557 /Zend/zend_llist.h | |
parent | 1a851b5d038d317f8cce1a591b1f36ac4973224f (diff) | |
download | php-git-cd5394443585707ea591376017fece7c30be8f50.tar.gz |
- Modify zend_llist_del() to receive a comparison function
Diffstat (limited to 'Zend/zend_llist.h')
-rw-r--r-- | Zend/zend_llist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_llist.h b/Zend/zend_llist.h index f2767c1d59..c6eddb59b2 100644 --- a/Zend/zend_llist.h +++ b/Zend/zend_llist.h @@ -42,7 +42,7 @@ BEGIN_EXTERN_C() ZEND_API void zend_llist_init(zend_llist *l, size_t size, void (*dtor)(void *data), unsigned char persistent); ZEND_API void zend_llist_add_element(zend_llist *l, void *element); ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element); -ZEND_API void zend_llist_del_element(zend_llist *l, void *element); +ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, void *element2)); 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); |