Re: quarks



hi:
On Mon, Sep 01, 2008 at 02:20:35AM -0300, Martin (OpenGeoMap) wrote:
hi!,


Someone knows like quarks works in glib????.

I suppose quarks is a pun on "atoms" that is so
often used as a lingo for som small item. Like atoms
in X.

I can not find the source code, only the header. It?? suppose we don need free the string inside a static string of a quarks. But how is that???. Where is the string saved?.

A quark is a pointer to your objeckt. So it is stored inside your program. If you don't need the quark any more you should free it.

GH

How??
With g_free ???
http://library.gnome.org/devel/glib/stable/glib-Quarks.html

I don´t see in the  quarks API anything to free???

I am very confused about this topic.

Regards.





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