diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-02-20 19:03:43 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-02-20 19:03:43 +0000 |
commit | b424a326108361ddd8cebba39e8092c411c939df (patch) | |
tree | 4ea9cb0185a6e7662aaf22c790997bfcae9f0fc8 /Zend/zend_objects_API.c | |
parent | 6e6a84129cd277ee0801dc7beb5339121fe696a5 (diff) | |
download | php-git-b424a326108361ddd8cebba39e8092c411c939df.tar.gz |
Preparation for portable string API (use macroses to access zval).
Diffstat (limited to 'Zend/zend_objects_API.c')
-rw-r--r-- | Zend/zend_objects_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_objects_API.c b/Zend/zend_objects_API.c index e7084f013b..4cc688dfa2 100644 --- a/Zend/zend_objects_API.c +++ b/Zend/zend_objects_API.c @@ -273,7 +273,7 @@ ZEND_API zval *zend_object_create_proxy(zval *object, zval *member TSRMLS_DC) zval_add_ref(&pobj->object); MAKE_STD_ZVAL(retval); - retval->type = IS_OBJECT; + Z_TYPE_P(retval) = IS_OBJECT; Z_OBJ_HANDLE_P(retval) = zend_objects_store_put(pobj, NULL, (zend_objects_free_object_storage_t) zend_objects_proxy_free_storage, (zend_objects_store_clone_t) zend_objects_proxy_clone TSRMLS_CC); Z_OBJ_HT_P(retval) = &zend_object_proxy_handlers; |