is there a "wine coding guide" available?

Dimitrie O. Paun dpaun at rogers.com
Thu Jul 24 08:22:17 CDT 2003


On July 24, 2003 07:35 am, Jonathan Wilson wrote:
> Something that covers things like coding style, things not to do in wine
> (e.g. because they arent portable enough) and so on.

No really. There's DEVELOPERS-HINTS, but that's about it. As for style,
you can use your own style if you want in new files. If you're changing
already existing files, just stick to the style used in them.

For new code, the preferred style is 4-spaces indentation, with braces on
their own line:
    if (...)
    {
        ....
    }
Many people feel strongly about it, and they have their own. If you don't,
it's better to use the preferred one.


-- 
Dimi.




More information about the wine-devel mailing list