Re: Patch for macros for tracking refcount and is_ref
| From: | Xuefer | Date: | Fri, 28 Dec 2007 11:59:33 +0000 |
| Subject: | Re: Patch for macros for tracking refcount and is_ref | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34268@lists.php.net to get a copy of this message | ||
why not keep ZVAL_ADDREF ZVAL_DELREF for 3rd party source level
compatibility reason and deprecate it?
e.g.:
pecl/event/event.c: 790
ZVAL_ADDREF(ev->php_cb_arg);
On Sep 4, 2007 10:24 PM, David Wang <planetbeing@gmail.com> wrote:
>
> One thing to note is that I removed the existing ZVAL_ADDREF and
> ZVAL_DELREF in favor of Z_ADDREF_P and Z_DELREF_P that do the same
> thing. The original duo acted on zval pointers contrary to standard
> form for macro names.