This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c269c3
commit 5c6f2a0
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ | |
+----------------------------------------------------------------------+ | ||
| Author: Oleg Grenrus <[email protected]> | | ||
| See CREDITS for contributors | | ||
| This is like hash.h, but the key is always a zend_uintptr_t | | ||
| This defines hash_si_ptr. | | ||
| It is like hash_si, but the key is always a non-zero zend_uintptr_t | | ||
+----------------------------------------------------------------------+ | ||
*/ | ||
|
||
|
@@ -78,13 +79,6 @@ int hash_si_ptr_insert (struct hash_si_ptr *h, const zend_uintptr_t key, uint32_ | |
*/ | ||
int hash_si_ptr_find (struct hash_si_ptr *h, const zend_uintptr_t key, uint32_t * value); | ||
|
||
/** Travarses hash_si_ptr. | ||
* Calls traverse_function on every item. Traverse function should not modify hash | ||
* @param h Pointer to hash_si_ptr struct. | ||
* @param traverse_function Function to call on every item of hash_si_ptr. | ||
*/ | ||
void hash_si_ptr_traverse (struct hash_si_ptr *h, int (*traverse_function) (const zend_uintptr_t key, uint32_t value)); | ||
|
||
/** Returns size of hash_si_ptr. | ||
* @param h Pointer to hash_si_ptr struct. | ||
* @return Size of hash_si_ptr. | ||
|