To answer myself...

    i just did the following :

*return_value = *(getThis());
zval_copy_ctor(return_value);

and everything seems to be working ok...

"L0t3k" <[EMAIL PROTECTED]> wrote in message
news:20021112210753.3233.qmail@;pb1.pair.com...
> im creating some classes in an extension and i have a question.
> im following instructions in the OBJECTS2_HOWTO, and have managed to get
the
> engine to call my constructor. in the constructor i can retrieve the
object
> created with the create_object_handler, which means getThis() already
> contains my object.
>   the question is , do i still  have to explicitly set return_value, given
> that getThis() is already a valid object zval ?
>
> l0t3k
>
>



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to