summaryrefslogtreecommitdiff
path: root/Zend/zend.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.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.h')
-rw-r--r--Zend/zend.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 4318c5dd21..a0e375e53b 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -65,7 +65,7 @@
typedef struct _zval_struct zval;
typedef struct _zend_class_entry zend_class_entry;
-typedef union {
+typedef union _zvalue_value {
long lval; /* long value */
double dval; /* double value */
struct {
@@ -91,14 +91,14 @@ struct _zval_struct {
-typedef struct {
+typedef struct _zend_function_entry {
char *fname;
void (*handler)(INTERNAL_FUNCTION_PARAMETERS);
unsigned char *func_arg_types;
} zend_function_entry;
-typedef struct {
+typedef struct _zend_property_reference {
int type; /* read, write or r/w */
zval **object;
zend_llist elements_list;
@@ -106,7 +106,7 @@ typedef struct {
-typedef struct {
+typedef struct _zend_overloaded_element {
int type; /* array offset or object proprety */
zval element;
} zend_overloaded_element;
@@ -130,7 +130,7 @@ struct _zend_class_entry {
-typedef struct {
+typedef struct _zend_utility_functions {
void (*error_function)(int type, const char *format, ...);
int (*printf_function)(const char *format, ...);
int (*write_function)(const char *str, uint str_length);
@@ -141,7 +141,7 @@ typedef struct {
} zend_utility_functions;
-typedef struct {
+typedef struct _zend_utility_values {
unsigned char short_tags;
unsigned char asp_tags;
} zend_utility_values;