diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-10-18 19:28:28 +0000 |
---|---|---|
committer | William Jon McCann <mccann@src.gnome.org> | 2007-10-18 19:28:28 +0000 |
commit | 2135595d04b5418580e0f5839fcee631fc073665 (patch) | |
tree | d34271175c29e03b0d52073bf3c4e06cd9f9ea35 /HACKING | |
parent | 59fea8af19f5f98a83b13c1ade387e018f0d7def (diff) | |
download | gdm-2135595d04b5418580e0f5839fcee631fc073665.tar.gz |
Futz with the order.
2007-10-18 William Jon McCann <mccann@jhu.edu>
* HACKING: Futz with the order.
svn path=/trunk/; revision=5376
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -53,6 +53,9 @@ Coding Style * Return value on line before function definition. * Brace on line after function definition. * Do not initialize local variables in their declarations. + * Line up function arguments in declarations. + * One variable declaration per line. + * Line up variable names in declarations. * Limit the use of function prototypes by defining functions in the file before they are used. * Whenever possible conditional expressions should not have side @@ -67,8 +70,6 @@ Coding Style beginning of the file. * Use gtk-doc style comments on public functions whenever possible. * In most cases, don't abbreviate words in function and variable names. - * Line up function arguments in declarations. - * Line up variable names in declarations. * Function names are lowercase, words separated by underscores. * Macros and enums are all uppercase, words seperated by underscores. @@ -81,3 +82,5 @@ Coding Style a warning or g_assert_not_reached. * Prefer glib functions over native ones when available. * Use glib string handling functions when possible. + + * When in doubt copy the style of the rest of the file.
\ No newline at end of file |