That was pretty neat thanks.
On 11/10/09, Tadej Borovšak wrote:
> Hello.
>
>> Is there any documentation available for it ? as to when to ref and
>> unref it based upon the api's ?
>
> You don't need to know those things, since object's total reference
> count is of no importance to you. All yo
Please don't cross-post.
On Tue, Nov 10, 2009 at 11:14:24PM +0530, Siddu wrote:
> How does one get to know if an API is adding a reference of its own to
> an object
References represent ownership. Hence a reference is added if you
provide an object to be taken and used later. Most methods that
Hello.
> Is there any documentation available for it ? as to when to ref and
> unref it based upon the api's ?
You don't need to know those things, since object's total reference
count is of no importance to you. All you need to do is keep track of
your own references on an object. Let me explain
Hi all,
How does one get to know if an API is adding a reference of its own to
an object
Passed as a Parameter and thereby incrementing the ref_count ?
Is there any documentation available for it ? as to when to ref and
unref it based upon the api's ?
For example in the below code
gtk_tree