summaryrefslogtreecommitdiff
path: root/Zend/zend_list.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-22 16:10:51 +0000
committerZeev Suraski <zeev@php.net>1999-05-22 16:10:51 +0000
commit1250c43a39cb562659076859bcf7c77260e45ffd (patch)
tree082c64d5b12b875659a5fd416c77a4cb959dd54d /Zend/zend_list.h
parent165280264178a9b561eac1e4b5985e0649c906a2 (diff)
downloadphp-git-1250c43a39cb562659076859bcf7c77260e45ffd.tar.gz
* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus causing AiCount to be decreased multiple times even though it was increased only once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only decrease AiCount on the last FETCH_DIM. * Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason MSVC doesn't report these :I
Diffstat (limited to 'Zend/zend_list.h')
-rw-r--r--Zend/zend_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_list.h b/Zend/zend_list.h
index da9d71bd96..796e1e836e 100644
--- a/Zend/zend_list.h
+++ b/Zend/zend_list.h
@@ -22,13 +22,13 @@
extern HashTable list_destructors;
-typedef struct {
+typedef struct _list_entry {
void *ptr;
int type;
int refcount;
} list_entry;
-typedef struct {
+typedef struct _list_destructors_entry {
void (*list_destructor)(void *);
void (*plist_destructor)(void *);
int module_number;