From fdf62f3e7709710c9e99ff430762abd6d84c09ac Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Wed, 9 Dec 2009 12:52:11 +0000 Subject: [PATCH] Add some Style example comments. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4486 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- HACKING | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HACKING b/HACKING index be0d6f33a..47db71159 100644 --- a/HACKING +++ b/HACKING @@ -207,10 +207,14 @@ Example:: gint function_long_name(gchar arg1, , gchar argN) { + /* variable declarations go before code in each scope */ gint foo, bar; /* variables can go on the same line */ gchar *ptr; /* pointer symbol must go next to variable name, not type */ gchar *another; /* pointers should normally go on separate lines */ + /* Some long comment block + * taking several different + * lines to explain */ if (foo) { gint dir = -1; /* -1 to search backwards */