Re: glist manipulation and reference count



Hi,

On Thu, 2009-05-14 at 20:47 -0700, walty wrote:

> However, one thing that surprised me is that, when I do "g_list_append" or
> "g_list_prepend", it does not automatically add the reference count of the
> stored GObject (unlike objective-C). 

It would be nice to have some container implementations in GObject that
deal with reference counting automatically. The classes found in libgee
http://live.gnome.org/Libgee could serve as a starting point.


Sven




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