Code convention / Coding style
Sylvestre Ledru
sylvestre.ledru at scilab.org
Thu Nov 25 10:47:17 CET 2010
Hello
Playing with the "indent" program, I published on the wiki the list of
all arguments in order to have a C / C++ code complying to the Coding
Style of Scilab:
http://wiki.scilab.org/Code_Conventions_for_the_C_Programming_Language
The command:
indent -npro --braces-after-if-line -i4 -ts4 -sob -ss -ncs -sc
--no-space-after-parentheses -cp1 --no-tabs -bap -bad -npcs
--dont-break-function-decl-args --dont-break-procedure-type -bli0 -l150
-il0 <file>
will update the source code to the coding style.
Cheers,
Sylvestre
More information about the dev
mailing list