diff options
| author | Zeev Suraski <zeev@php.net> | 2000-01-16 20:59:03 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-01-16 20:59:03 +0000 |
| commit | ee08b81aabcbc65c9b10b535f028b3654b732e4a (patch) | |
| tree | c008f5dbd7ce1d2e593ae99cdc4f9fe6d7f9f475 /Zend/zend_list.h | |
| parent | 97e1ad136a92e7fc55614e60e11ffef5862eb701 (diff) | |
| download | php-git-ee08b81aabcbc65c9b10b535f028b3654b732e4a.tar.gz | |
- Make zend_hash_apply() (and friends) reentrant and much, much quicker
- Introduce zend_hash_graceful_destroy(), which allows the destructor functions to
use zend_hash_apply() and/or zend_hash_graceful_destroy()
- Switch to zend_hash_graceful_destroy() in the resource list shutdowns
Diffstat (limited to 'Zend/zend_list.h')
| -rw-r--r-- | Zend/zend_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_list.h b/Zend/zend_list.h index ac0b4038e5..816b52e398 100644 --- a/Zend/zend_list.h +++ b/Zend/zend_list.h @@ -52,8 +52,8 @@ int plist_entry_destructor(void *ptr); int clean_module_resource_destructors(list_destructors_entry *ld, int *module_number); int init_resource_list(ELS_D); int init_resource_plist(ELS_D); -void destroy_resource_list(void); -void destroy_resource_plist(void); +void destroy_resource_list(ELS_D); +void destroy_resource_plist(ELS_D); ZEND_API int zend_list_insert(void *ptr, int type); ZEND_API int zend_plist_insert(void *ptr, int type); |
