Martin (OPENGeoMap) escribió:
Hi
http://library.gnome.org/devel/glib/2.17/glib-Date-and-Time-Functions.html#GDate
I have a doubt about how they are working all classes in the glib.
Is it always uses dynamic memory for everything?
GDate*
g_date_new (void)
{
GDate *d = g_new0 (GDate, 1); /* happily, 0 is the invalid flag for
everything. */
return d;
}
That is the kind of data which GData in principle could be used either
as a variable.
What advantages are obtained using dynamic memory in GData or other
simple structs with only integers and not related with gobject system?
regards.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list