Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_objects.c zend_objects.h zend_objects_API.h
| From: | Stanislav Malyshev | Date: | Tue, 22 Feb 2005 13:14:09 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_objects.c zend_objects.h zend_objects_API.h | ||
| References: | 1 2 3 4 5 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-3423@lists.php.net to get a copy of this message | ||
MB>>It is only a direct callback because most extensions that have their
MB>>own object layout inherit from it (e.g. call this one) and register
MB>>itself in the object storage. So the object storage handlers are the
MB>>place where this becomes a callback.
I see. But it should be clear from the header that this function itself
requires zend_object *. So at least add comment in the .h - though I
personally would prefer to preserve the signature and convert it when it's
assigned as a callback.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115