Re: ref_count

Deborah Swayne <dfs research att com> writes:
> Is it appropriate to look at a gobject's ref_count, or is
> that supposed to be private?  I've been keeping track of its
> value whenever I deliberately increment or decrement it, but the
> code makes it look as though I'm doing something improper -- and
> likely to be disabled.  Is there some equivalent of a
> g_object_get_ref_count function that I just haven't spotted?

It is supposed to be private, but it's OK to use it for debugging code.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]