diff options
author | Felipe Pena <felipe@php.net> | 2008-07-24 19:52:24 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-07-24 19:52:24 +0000 |
commit | 0fbe6a0c14a7f8bc664484c33615d48a213ab662 (patch) | |
tree | 0f7005c0598c1ff321dc3b22a2cf122e2956bbcc /Zend/zend_API.c | |
parent | ae8a21ad77cf23191b0d9635336330ad852953fd (diff) | |
download | php-git-0fbe6a0c14a7f8bc664484c33615d48a213ab662.tar.gz |
- MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index c9eaf1f96c..cc30df3ca7 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -933,7 +933,7 @@ ZEND_API int _array_init(zval *arg, uint size ZEND_FILE_LINE_DC) /* {{{ */ } /* }}} */ -static int zend_merge_property(zval **value, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ +static int zend_merge_property(zval **value TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ { /* which name should a numeric property have ? */ if (hash_key->nKeyLength) { @@ -959,7 +959,7 @@ ZEND_API void zend_merge_properties(zval *obj, HashTable *properties, int destro zend_class_entry *old_scope = EG(scope); EG(scope) = Z_OBJCE_P(obj); - zend_hash_apply_with_arguments(properties, (apply_func_args_t)zend_merge_property, 2, obj, obj_ht); + zend_hash_apply_with_arguments(properties TSRMLS_CC, (apply_func_args_t)zend_merge_property, 2, obj, obj_ht); EG(scope) = old_scope; if (destroy_ht) { |