[pacman-dev] [PATCH 1/5] Two memleak fixes in pacman.
Xavier
shiningxc at gmail.com
Tue Nov 20 05:28:29 EST 2007
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,
...
More information about the pacman-dev
mailing list