> Do people think that is the correct way to document memory management?
The more you write, the better. Memory allocation problems are sometimes
hard to track (at least for me) and can cause severe thinking pains for
lamers like yours truly -- speaking from my humble experience. I must admit
that sometimes I am not sure: is function x returning a pointer to a
tingling fresh allocated memory which I can use later in my program not
caring whether the widget from which it was taken still exists or not, or
merely a pointer to some widget internals, which will be destroyed together
with the widget? At a point of time (remember, I am not a real programmer)
I just strdup-ed any pointer I got from such functions.
Best regards,
j.
----)-\//-///-----------------------------------January-Weiner-3-------
http://www.bioinformatics.org/genpak
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list