mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Added macros for managing zval refcounts and is_ref statuses
This commit is contained in:
parent
ca4c55ad3a
commit
4b4d634cb9
79 changed files with 924 additions and 864 deletions
|
@ -164,9 +164,9 @@ ZEND_API void zend_objects_store_del_ref(zval *zobject TSRMLS_DC)
|
|||
|
||||
handle = Z_OBJ_HANDLE_P(zobject);
|
||||
|
||||
zobject->refcount++;
|
||||
Z_ADDREF_P(zobject);
|
||||
zend_objects_store_del_ref_by_handle(handle TSRMLS_CC);
|
||||
zobject->refcount--;
|
||||
Z_DELREF_P(zobject);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue