aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-03-23 15:49:43 +0800
committerXan Lopez <xan@src.gnome.org>2009-03-23 15:49:43 +0800
commit340d192979400529fd8aeab72eca3366543e095c (patch)
treea7130700591febabaad59ae2cd9c2716e1b8e233 /HACKING
parent93b0c6873cba481f2efe02ee426641887c996bf3 (diff)
downloadgsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.tar
gsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.tar.gz
gsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.tar.bz2
gsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.tar.lz
gsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.tar.xz
gsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.tar.zst
gsoc2013-epiphany-340d192979400529fd8aeab72eca3366543e095c.zip
HACKING: add a couple more rules.
svn path=/trunk/; revision=8931
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING2
1 files changed, 2 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index db83fb6c6..57cd9bf9b 100644
--- a/HACKING
+++ b/HACKING
@@ -5,9 +5,11 @@ need to stick to in order to get your patch accepted:
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.