summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-27 19:43:06 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-27 19:43:06 +0000
commit6d9c04e82399d7892ce221cf807dbbb2abd0b2df (patch)
treedc665ef84ccb38b5c30fecae51f5eb506d91cfca
parent6f7cf88a985283a845561da5ffd354ae646e1912 (diff)
downloadphp-git-6d9c04e82399d7892ce221cf807dbbb2abd0b2df.tar.gz
Undo Z_ subst
-rw-r--r--ext/wddx/wddx.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 80242507f9..290673e4cc 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -681,7 +681,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
}
}
} else if (!strcmp(name, EL_STRING)) {
- Z_TYPE(ent) = ST_STRING;
+ ent.type = ST_STRING;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);
@@ -691,7 +691,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
Z_STRLEN_P(ent.data) = 0;
wddx_stack_push((wddx_stack *)stack, &ent, sizeof(st_entry));
} else if (!strcmp(name, EL_BINARY)) {
- Z_TYPE(ent) = ST_BINARY;
+ ent.type = ST_BINARY;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);
@@ -711,7 +711,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
}
}
} else if (!strcmp(name, EL_NUMBER)) {
- Z_TYPE(ent) = ST_NUMBER;
+ ent.type = ST_NUMBER;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);
@@ -723,7 +723,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
for (i=0; atts[i]; i++) {
if (!strcmp(atts[i], EL_VALUE) && atts[i+1]) {
- Z_TYPE(ent) = ST_BOOLEAN;
+ ent.type = ST_BOOLEAN;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);
@@ -734,7 +734,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
}
}
} else if (!strcmp(name, EL_NULL)) {
- Z_TYPE(ent) = ST_NULL;
+ ent.type = ST_NULL;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);
@@ -743,7 +743,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
wddx_stack_push((wddx_stack *)stack, &ent, sizeof(st_entry));
} else if (!strcmp(name, EL_ARRAY)) {
- Z_TYPE(ent) = ST_ARRAY;
+ ent.type = ST_ARRAY;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);
@@ -751,7 +751,7 @@ static void php_wddx_push_element(void *user_data, const char *name, const char
INIT_PZVAL(ent.data);
wddx_stack_push((wddx_stack *)stack, &ent, sizeof(st_entry));
} else if (!strcmp(name, EL_STRUCT)) {
- Z_TYPE(ent) = ST_STRUCT;
+ ent.type = ST_STRUCT;
SET_STACK_VARNAME;
ALLOC_ZVAL(ent.data);