From ee286febe78a19c7e4f825f033380c454123c0cd Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Wed, 15 Mar 2000 16:25:59 +0000 Subject: Make zend_hash_move_forward()/zenv_hash_move_backwards() a little smarter. --- Zend/zend_hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zend/zend_hash.h') diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h index bef0f074b1..370b560017 100644 --- a/Zend/zend_hash.h +++ b/Zend/zend_hash.h @@ -148,8 +148,8 @@ ZEND_API int zend_hash_index_exists(HashTable *ht, ulong h); ZEND_API ulong zend_hash_next_free_element(HashTable *ht); /* traversing */ -ZEND_API void zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); -ZEND_API void zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos); +ZEND_API int zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); +ZEND_API int zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos); ZEND_API int zend_hash_get_current_key_ex(HashTable *ht, char **str_index, ulong *num_index, HashPosition *pos); ZEND_API int zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos); ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); -- cgit v1.2.1