Mercurial > geeqie.yaz
view CODING @ 524:7659ccaf2a74
Document the Geeqie coding style.
This is a draft, please improve.
author | zas_ |
---|---|
date | Fri, 25 Apr 2008 09:28:45 +0000 |
parents | |
children | 86f4c42afeab |
line wrap: on
line source
Please keep the general coding style of Geeqie: Space after if, while and for: while (...) for (...) if (...) Indentation of {}: while (...) { ... } if (...) { ... } else { ... } Spaces around operators: i = 2; Space after comma: func(a, b, c); Use glib functions when possible (ie. g_ascii_isspace() instead of isspace()). Please use glib types when possible (ie. gint and gchar instead of int and char) . Check twice the indentation and spurious whitespaces.