summaryrefslogtreecommitdiff
path: root/Zend/zend_hash.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-05-16 17:22:01 +0000
committerZeev Suraski <zeev@php.net>2001-05-16 17:22:01 +0000
commit755207a1e63161a0ef625299fed9a2d569357f7a (patch)
tree256851fad8912a83602be6d72b82148a4384f03c /Zend/zend_hash.h
parent4c0d85ba4febd4e9c1c73a3f06647c6eadf21785 (diff)
downloadphp-git-755207a1e63161a0ef625299fed9a2d569357f7a.tar.gz
Implement zend_hash_add_empty_element() using the existing infrastructure
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r--Zend/zend_hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index bbea4e1a60..7cc9e2fb2f 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -104,6 +104,8 @@ ZEND_API int zend_hash_index_update_or_next_insert(HashTable *ht, ulong h, void
#define zend_hash_next_index_insert(ht,pData,nDataSize,pDest) \
zend_hash_index_update_or_next_insert(ht,0,pData,nDataSize,pDest,HASH_NEXT_INSERT)
+ZEND_API int zend_hash_add_empty_element(HashTable *ht, char *arKey, uint nKeyLength);
+
typedef struct _zend_hash_key {
char *arKey;
uint nKeyLength;