summaryrefslogtreecommitdiff
path: root/Zend/zend_hash.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2013-11-28 17:01:10 +0400
committerDmitry Stogov <dmitry@zend.com>2013-11-28 17:01:10 +0400
commitaa427a10d4064e0873b3de8cf1b38f2dabc02913 (patch)
treeb8268db221f2a98e5711c10bc9a515c3fc152390 /Zend/zend_hash.h
parent9d060e8d48bd6b2cc8c2a30f3b0eeeb4d867d934 (diff)
downloadphp-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.h4
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);