summaryrefslogtreecommitdiff
path: root/Zend/zend_hash.h
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-07-24 19:52:24 +0000
committerFelipe Pena <felipe@php.net>2008-07-24 19:52:24 +0000
commit0fbe6a0c14a7f8bc664484c33615d48a213ab662 (patch)
tree0f7005c0598c1ff321dc3b22a2cf122e2956bbcc /Zend/zend_hash.h
parentae8a21ad77cf23191b0d9635336330ad852953fd (diff)
downloadphp-git-0fbe6a0c14a7f8bc664484c33615d48a213ab662.tar.gz
- MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r--Zend/zend_hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index 703f59ec05..2ec2c5b0f2 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -127,13 +127,13 @@ ZEND_API int zend_hash_add_empty_element(HashTable *ht, const char *arKey, uint
typedef int (*apply_func_t)(void *pDest TSRMLS_DC);
typedef int (*apply_func_arg_t)(void *pDest, void *argument TSRMLS_DC);
-typedef int (*apply_func_args_t)(void *pDest, int num_args, va_list args, zend_hash_key *hash_key);
+typedef int (*apply_func_args_t)(void *pDest TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key);
ZEND_API void zend_hash_graceful_destroy(HashTable *ht);
ZEND_API void zend_hash_graceful_reverse_destroy(HashTable *ht);
ZEND_API void zend_hash_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC);
ZEND_API void zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void * TSRMLS_DC);
-ZEND_API void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int, ...);
+ZEND_API void zend_hash_apply_with_arguments(HashTable *ht TSRMLS_DC, apply_func_args_t apply_func, int, ...);
/* This function should be used with special care (in other words,
* it should usually not be used). When used with the ZEND_HASH_APPLY_STOP