Coding Style
This page documents possible coding conventions for MapServer.
Artistic Style (astyle)
Artistic Style (astyle) is source code formatting tool, and allows for flexible definitions (spaces, padding, indents, one liners, etc.) to automatically format source code for a given coding convention.
Here is a sample invocation:
$ astyle --style=kr --unpad=paren --indent=spaces=2 mslibxml2.c
Coding Conventions
- style (k&r, gnu, linux)
- tabs an brackets (tabs, spaces)
- indentation
- formatting (parens)
Last modified 11 years ago
Last modified on Mar 12, 2009, 8:39:47 PM