aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING5
1 files changed, 4 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index 0e6030da4..db83fb6c6 100644
--- a/HACKING
+++ b/HACKING
@@ -4,11 +4,14 @@ need to stick to in order to get your patch accepted:
- use 2-space no-tabs for indentation (mandatory on new files, old ones will
be re-indented eventually. When modifying an existing file with 8-space
indentation keep the old style please)
-- curly brackets are on a new line
+- Use K&R style for the braces
- please compare with NULL or FALSE isntead of using "!"
- callback functions have a suffix _cb
- all files have to be encoded in UTF-8
+- data/kr-gnome-indent.cfg is provided as a reference config file for the
+ uncrustify program to get correct indentation in new files.
+
Comment blocks are written like this:
/*