Re: Use of Memory Slices in N-ary Trees

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

 



Hi.

> Ah perfect! So you mean that when I create a new node using GNode it will
> automatically use g_slice_alloc behind the covers?

Yes, nodes are allocated using g_slice_new0(GNode) (unless you have
G_SLICE env variable set to "always-malloc").

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux