diff options
author | Andrei Zmievski <andrei@php.net> | 2000-03-15 16:25:59 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-03-15 16:25:59 +0000 |
commit | ee286febe78a19c7e4f825f033380c454123c0cd (patch) | |
tree | 06c161ad927955f052faf1900f9b1a722f868a59 /Zend/zend_hash.h | |
parent | f30765e1a0c1a368c2402d89f4c1e0cb235b3a92 (diff) | |
download | php-git-ee286febe78a19c7e4f825f033380c454123c0cd.tar.gz |
Make zend_hash_move_forward()/zenv_hash_move_backwards() a little smarter.
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r-- | Zend/zend_hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |