diff options
author | Zeev Suraski <zeev@php.net> | 2001-05-16 17:22:01 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-05-16 17:22:01 +0000 |
commit | 755207a1e63161a0ef625299fed9a2d569357f7a (patch) | |
tree | 256851fad8912a83602be6d72b82148a4384f03c /Zend/zend_hash.h | |
parent | 4c0d85ba4febd4e9c1c73a3f06647c6eadf21785 (diff) | |
download | php-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.h | 2 |
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; |