summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>1999-12-21 17:14:31 +0000
committerAndrei Zmievski <andrei@php.net>1999-12-21 17:14:31 +0000
commit80bab9d9394939c43e61300621aa7c72ab901ef7 (patch)
tree39fd30c7003962471e74271389d3353e6972dd8c /Zend/zend_variables.c
parentff7a79c6cfe6389510826eeda01732c8a5cda428 (diff)
downloadphp-git-80bab9d9394939c43e61300621aa7c72ab901ef7.tar.gz
We're using ZVAL's now.
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index 6d5452c94e..72416146b0 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -139,7 +139,7 @@ ZEND_API int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
return SUCCESS; /* do nothing */
}
zvalue->value.ht = (HashTable *) emalloc_rel(sizeof(HashTable));
- zend_hash_init(zvalue->value.ht, 0, NULL, PVAL_PTR_DTOR, 0);
+ zend_hash_init(zvalue->value.ht, 0, NULL, ZVAL_PTR_DTOR, 0);
zend_hash_copy(zvalue->value.ht, original_ht, (void (*)(void *)) zval_add_ref, (void *) &tmp, sizeof(zval *));
}
break;
@@ -148,7 +148,7 @@ ZEND_API int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
HashTable *original_ht = zvalue->value.obj.properties;
zvalue->value.obj.properties = (HashTable *) emalloc_rel(sizeof(HashTable));
- zend_hash_init(zvalue->value.obj.properties, 0, NULL, PVAL_PTR_DTOR, 0);
+ zend_hash_init(zvalue->value.obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
zend_hash_copy(zvalue->value.obj.properties, original_ht, (void (*)(void *)) zval_add_ref, (void *) &tmp, sizeof(zval *));
}
break;