aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-04-02 17:49:45 +0800
committerXan Lopez <xan@igalia.com>2012-04-02 17:49:45 +0800
commitf43619aadad751c6684b982ae88bd0e062cec921 (patch)
tree71e026a3e3518590ef6dfa4ebc024cce5f2334ec
parent1dcd2cf9478ec959ac7e54e594f073bf2fa562ee (diff)
downloadgsoc2013-epiphany-f43619aadad751c6684b982ae88bd0e062cec921.tar.gz
gsoc2013-epiphany-f43619aadad751c6684b982ae88bd0e062cec921.tar.zst
gsoc2013-epiphany-f43619aadad751c6684b982ae88bd0e062cec921.zip
HACKING: update with comment about casts
-rw-r--r--HACKING5
1 files changed, 5 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index b4a9946b5..a405ab7a8 100644
--- a/HACKING
+++ b/HACKING
@@ -29,6 +29,11 @@ need to stick to in order to get your patch accepted:
- data/kr-gnome-indent.cfg is provided as a reference config file for the
uncrustify program to get correct indentation in new files.
+- There's no space between a type cast and the variable name.
+
+ Right: (int*)foo
+ Wrong: (int*) foo
+
See ChangeLog.README for Git checkin rules.
See doc/debugging.txt for some tips and tricks for debugging.