epiphany r8931 - trunk



Author: xan
Date: Mon Mar 23 07:49:43 2009
New Revision: 8931
URL: http://svn.gnome.org/viewvc/epiphany?rev=8931&view=rev

Log:
HACKING: add a couple more rules.

Modified:
   trunk/HACKING

Modified: trunk/HACKING
==============================================================================
--- trunk/HACKING	(original)
+++ trunk/HACKING	Mon Mar 23 07:49:43 2009
@@ -5,9 +5,11 @@
   be re-indented eventually. When modifying an existing file with 8-space
   indentation keep the old style please)
 - Use K&R style for the braces
+- No braces for one line control clauses.
 - please compare with NULL or FALSE isntead of using "!"
 - callback functions have a suffix _cb
 - all files have to be encoded in UTF-8
+- Use char/int/double/..., not gchar/gint/gdouble/... types.
 
 - data/kr-gnome-indent.cfg is provided as a reference config file for the
   uncrustify program to get correct indentation in new files.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]