diff options
| author | Remi Collet <remi@remirepo.net> | 2020-09-10 11:19:09 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2020-09-10 12:36:44 +0200 |
| commit | 7be70c6bfc3143a20365c1ca27aa851d581958a0 (patch) | |
| tree | 5dfc5a9a9b803a908850474d1f12c96f81d1038e | |
| parent | bd1d11d352ddfb2c376060d7e7b282636dce1605 (diff) | |
| download | php-git-7be70c6bfc3143a20365c1ca27aa851d581958a0.tar.gz | |
fix zend_hash_get_current_key_ex proto
| -rw-r--r-- | Zend/zend_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h index 6d3398fd90..3d12efcc05 100644 --- a/Zend/zend_hash.h +++ b/Zend/zend_hash.h @@ -229,7 +229,7 @@ ZEND_API HashPosition ZEND_FASTCALL zend_hash_get_current_pos(const HashTable *h (zend_hash_get_current_key_type_ex(ht, pos) == HASH_KEY_NON_EXISTENT ? FAILURE : SUCCESS) ZEND_API zend_result ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); ZEND_API zend_result ZEND_FASTCALL zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos); -ZEND_API zend_result ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); +ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ZEND_API void ZEND_FASTCALL zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, HashPosition *pos); ZEND_API zend_result ZEND_FASTCALL zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos); ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); |
