[epiphany] HACKING: update with comment about casts



commit f43619aadad751c6684b982ae88bd0e062cec921
Author: Xan Lopez <xan igalia com>
Date:   Mon Apr 2 11:49:45 2012 +0200

    HACKING: update with comment about casts

 HACKING |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/HACKING b/HACKING
index b4a9946..a405ab7 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.
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]