Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 4 and Version 5 of StyleGuide


Ignore:
Timestamp:
Jul 26, 2009, 9:02:48 PM (15 years ago)
Author:
John Bailey
Comment:

One parameter per line is excessively wasteful.

Legend:

Unmodified
Added
Removed
Modified
  • StyleGuide

    v4 v5  
    5858
    5959 * There should be a newline between the return type of the function and the function's name.
    60  * One parameter per line.
     60 * Wrap parameters sensibly, preferably around 80 characters or so.
    6161 * As mentioned above, the opening brace should be on a new line.
    6262
     
    6666#!c
    6767GtkWidget *
    68 do_some_magic_thing(int foo,
    69                     gchar *bar)
     68do_some_magic_thing(int foo, gchar *bar)
    7069{
    7170        /* misc, other */
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!