diff options
author | Dmitry Stogov <dmitry@zend.com> | 2013-11-28 17:01:10 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2013-11-28 17:01:10 +0400 |
commit | aa427a10d4064e0873b3de8cf1b38f2dabc02913 (patch) | |
tree | b8268db221f2a98e5711c10bc9a515c3fc152390 /Zend/zend_hash.h | |
parent | 9d060e8d48bd6b2cc8c2a30f3b0eeeb4d867d934 (diff) | |
download | php-git-aa427a10d4064e0873b3de8cf1b38f2dabc02913.tar.gz |
Removed duplicated hash function implementation (100% source compatible)
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 69732cd597..74bede1afd 100644 --- a/Zend/zend_hash.h +++ b/Zend/zend_hash.h @@ -157,8 +157,8 @@ ZEND_API int zend_hash_del_key_or_index(HashTable *ht, const char *arKey, uint n zend_hash_del_key_or_index(ht, arKey, nKeyLength, h, HASH_DEL_KEY_QUICK) #define zend_hash_index_del(ht, h) \ zend_hash_del_key_or_index(ht, NULL, 0, h, HASH_DEL_INDEX) - -ZEND_API ulong zend_get_hash_value(const char *arKey, uint nKeyLength); +#define zend_get_hash_value \ + zend_hash_func /* Data retreival */ ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); |