summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING7
1 files changed, 5 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index e23f5d52..9c3c28f1 100644
--- a/HACKING
+++ b/HACKING
@@ -53,6 +53,9 @@ Coding Style
* Return value on line before function definition.
* Brace on line after function definition.
* Do not initialize local variables in their declarations.
+ * Line up function arguments in declarations.
+ * One variable declaration per line.
+ * Line up variable names in declarations.
* Limit the use of function prototypes by defining functions
in the file before they are used.
* Whenever possible conditional expressions should not have side
@@ -67,8 +70,6 @@ Coding Style
beginning of the file.
* Use gtk-doc style comments on public functions whenever possible.
* In most cases, don't abbreviate words in function and variable names.
- * Line up function arguments in declarations.
- * Line up variable names in declarations.
* Function names are lowercase, words separated by underscores.
* Macros and enums are all uppercase, words seperated by
underscores.
@@ -81,3 +82,5 @@ Coding Style
a warning or g_assert_not_reached.
* Prefer glib functions over native ones when available.
* Use glib string handling functions when possible.
+
+ * When in doubt copy the style of the rest of the file. \ No newline at end of file