# HG changeset patch # User Matti Hamalainen # Date 1206973905 -10800 # Node ID fa676e489b645694c526a585e8f1cb403094e258 # Parent 35444232ac7ed2ddbb4d1b9c9f13cd030a299dae# Parent 7df56e5ec76b1ba4cef4b7ba0503b90c814237f7 Automated merge with ssh://hg.atheme.org//hg/audacious diff -r 7df56e5ec76b -r fa676e489b64 HACKING --- a/HACKING Mon Mar 31 09:33:16 2008 -0500 +++ b/HACKING Mon Mar 31 17:31:45 2008 +0300 @@ -24,7 +24,7 @@ ================= - We use Glib for portability. This means that we have sized integer types - like gint{16,32,64}, etc. and shorthand types like guint and guchar + such as gint{16,32,64}, etc. and shorthand types like guint and guchar provided, so please do use them. Arguably C99 provides inttypes.h with similar types, but C99 support @@ -77,6 +77,11 @@ documentation for more information. +- Avoid reinventing wheels, avoid code duplication. If same thing is done + in two places, it should be in a library, or possibly in Audacious core. + Discuss about it with fellow developers. + + Additional style guidelines ===========================