summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-02-01 10:40:05 +0000
committerThies C. Arntzen <thies@php.net>2000-02-01 10:40:05 +0000
commitd6afe4bac78e5e107782873d9e23552935f613b9 (patch)
tree4728a9bc9199250ae711bb56ba27acaa68eaf962 /Zend
parent91bb21c52262d850d509ef51f8f87870eb5690da (diff)
downloadphp-git-d6afe4bac78e5e107782873d9e23552935f613b9.tar.gz
took out zend_hash_pointer_update() & zend_hash_pointer_index_update_or_next_insert() - i really prefer link-errors instead of runtime-errors, don't you?
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_hash.c14
-rw-r--r--Zend/zend_hash.h7
2 files changed, 0 insertions, 21 deletions
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c
index ba2a4aa9e9..921fa00a05 100644
--- a/Zend/zend_hash.c
+++ b/Zend/zend_hash.c
@@ -453,20 +453,6 @@ ZEND_API int zend_hash_index_update_or_next_insert(HashTable *ht, ulong h, void
}
-ZEND_API int zend_hash_pointer_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData)
-{
- zend_error(E_ERROR, "zend_hash_pointer_*() functions are no longer supported");
- return FAILURE;
-}
-
-
-ZEND_API int zend_hash_pointer_index_update_or_next_insert(HashTable *ht, ulong h, void *pData, int flag)
-{
- zend_error(E_ERROR, "zend_hash_pointer_*() functions are no longer supported");
- return FAILURE;
-}
-
-
static int zend_hash_if_full_do_resize(HashTable *ht)
{
Bucket **t;
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index b824cd4bf3..5d512b70ef 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -103,8 +103,6 @@ ZEND_API int zend_hash_index_update_or_next_insert(HashTable *ht, ulong h, void
#define zend_hash_next_index_insert_ptr(ht,pData,nDataSize,pDest) \
zend_hash_index_update_or_next_insert(ht,0,pData,nDataSize,pDest,HASH_NEXT_INSERT|HASH_ADD_PTR)
-ZEND_API int zend_hash_pointer_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData);
-
typedef struct _zend_hash_key {
char *arKey;
uint nKeyLength;
@@ -115,11 +113,6 @@ typedef struct _zend_hash_key {
#define ZEND_STD_HASH_APPLIER \
int (*)(void *element, int num_args, va_list args, zend_hash_key *hash_key)
-ZEND_API int zend_hash_pointer_index_update_or_next_insert(HashTable *ht, ulong h, void *pData, int flag);
-#define zend_hash_pointer_index_update(ht,h,pData) \
- zend_hash_pointer_index_update_or_next_insert(ht,h,pData,HASH_UPDATE)
-#define zend_hash_next_index_pointer_insert(ht,pData) \
- zend_hash_pointer_index_update_or_next_insert(ht,0,pData,HASH_NEXT_INSERT)
ZEND_API void zend_hash_graceful_destroy(HashTable *ht);
ZEND_API void zend_hash_apply(HashTable *ht,int (*destruct)(void *));
ZEND_API void zend_hash_apply_with_argument(HashTable *ht,int (*destruct)(void *, void *), void *);