diff options
author | Zeev Suraski <zeev@php.net> | 2001-08-02 05:25:29 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-08-02 05:25:29 +0000 |
commit | 3aa5674a84891e3d599ff984bfdd3c8735823752 (patch) | |
tree | 3afd8ed8786881074948426362482911a43e3f3b /Zend/zend_hash.c | |
parent | ce16a6e920ff4333d67897b2678fedaf96deff4b (diff) | |
download | php-git-3aa5674a84891e3d599ff984bfdd3c8735823752.tar.gz |
TSRMLS fixes
Diffstat (limited to 'Zend/zend_hash.c')
-rw-r--r-- | Zend/zend_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c index 0078a53893..437190e001 100644 --- a/Zend/zend_hash.c +++ b/Zend/zend_hash.c @@ -711,7 +711,7 @@ ZEND_API void zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t appl HASH_PROTECT_RECURSION(ht); p = ht->pListHead; while (p != NULL) { - if (apply_func(p->pData, argument)) { + if (apply_func(p->pData, argument TSRMLS_CC)) { p = zend_hash_apply_deleter(ht, p); } else { p = p->pListNext; @@ -721,7 +721,7 @@ ZEND_API void zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t appl } -ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, int (*destruct)(void *, int, va_list, zend_hash_key *), int num_args, ...) +ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t destruct, int num_args, ...) { Bucket *p; va_list args; |