Refcount question
| From: | Sam Liddicott | Date: | Thu, 18 Apr 2002 15:24:15 +0000 |
| Subject: | Refcount question | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-82944@lists.php.net to get a copy of this message | ||
If I'm writing a C++ extension module and I want return_value to be the same
as this_ptr do I need to increase the ref count of the zval this_ptr?
Or is it safe just to do as the last line:
return_Value=this_ptr;
or
*return_value=*this_ptr;
or what
??
Sam