changeset 809:83d3abd80b64

Minor fixes and add a note about variable declaration.
author zas_
date Mon, 09 Jun 2008 10:10:34 +0000
parents c3fc736fb927
children 602cec932587
files CODING
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/CODING	Mon Jun 09 07:14:46 2008 +0000
+++ b/CODING	Mon Jun 09 10:10:34 2008 +0000
@@ -34,10 +34,10 @@
 
 Example:
 
-I done some bugfixes.
+I did some bugfixes.
 Library:
-- I change the interface
-- added some new functions
+- the interface was modified
+- new functions were added
 
 --------------------------------------------------------------------------------
 
@@ -92,7 +92,7 @@
 
 Functions:
 
-int bar(<var_def>, <var_def>, <var_def>)
+gint bar(<var_def>, <var_def>, <var_def>)
 {
 	<command>;
 	...
@@ -128,6 +128,8 @@
     In "function(<var>)" there are no space before '('. 
 You MAY use more tabs/spaces than you OUGHT TO (according to this CodingStyle), if
         it makes your code nicer in being verticaly indented.
+Variables declarations should be followed by a blank line and should always be
+at the start of the block.
 
 --------------------------------------------------------------------------------