Re: [PATCH] Converting accesses to refcount and is_ref to macros
| From: | Jani Taskinen | Date: | Sat, 14 Jul 2007 06:31:57 +0000 |
| Subject: | Re: [PATCH] Converting accesses to refcount and is_ref to macros | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30903@lists.php.net to get a copy of this message | ||
David Wang kirjoitti:
This patch is a simple, albeit widespread change that converts access to zval.refcount, zval.is_ref, _object_store.refcount to macros. There is no functional change to the code, but this will make it easier to implement a garbage collector in the future.Was there some particular reason to remove those ()'s around the macros? (usually they're there for a reason :) --Jani