20 Nov
2007
20 Nov
'07
10:28 a.m.
On Mon, Nov 19, 2007 at 10:45:53PM -0500, K. Piche wrote:
On Mon, 2007-11-19 at 13:07 -0600, Dan McGee wrote: You could have a simple convention like GTK/GNOME stuff does: any function arguments or returns that are "const" should not be freed by the user (or front end in this case). See "Cleanliness" in http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html
k
I also find the tip for bit fields interesting :) ... GNOME_CANVAS_UPDATE_AFFINE = 1 << 1, GNOME_CANVAS_UPDATE_CLIP = 1 << 2, ...