Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_objects.c zend_objects.h zend_objects_API.h
| From: | Marcus Boerger | Date: | Tue, 22 Feb 2005 13:11:02 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_objects.c zend_objects.h zend_objects_API.h | ||
| References: | 1 2 3 4 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-3422@lists.php.net to get a copy of this message | ||
Hello Stanislav,
Tuesday, February 22, 2005, 1:56:01 PM, you wrote:
MB>>> it is an object storage function and the abstract object storage interface
MB>>>must not know anything about the implementation details. If you want to
> Here I am missing something, it seems to me. It's not a callback - it's a
> direct call function. And it does (zend_object*)_object right at the
> start. So you can't call it with anything except (zend_object*) anyway. So
> why change it's signature, what's the purpose? Am I missing something?
It is only a direct callback because most extensions that have their own
object layout inherit from it (e.g. call this one) and register itself in
the object storage. So the object storage handlers are the place where this
becomes a callback.
--
Best regards,
Marcus mailto:helly@php.net