aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING16
1 files changed, 16 insertions, 0 deletions
diff --git a/HACKING b/HACKING
new file mode 100644
index 000000000..430e0ff7b
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,16 @@
+In order to keep the code nice and clean we have a few requirements you'll
+need to stick to in order to get your patch accepted:
+
+- use 8-space tabs for indentation
+- curly brackets are on a new line
+- please compare with NULL or FALSE isntead of using "!"
+- callback functions have a suffix _cb
+
+ Comment blocks are written like this:
+
+/**
+ * bla_bla_cb: This is an example comment block
+ */
+
+Do NOT commit to this module without permission from me
+(marco@it.gnome.org)