blob: adc4e31a65c5c7bfaca4bc4e403f7a43ad32ec0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Coding Style for NSD
[This is incomplete, but a start]
o No space after function/keyword
o { on the same line as the if/while/for statement
o If an 'if' has one statement in the 'then' part omit the braces:
if (!x)
return NULL;
Indent the 'then' part with tabs
o Function:
return-type
functionname(parameters, ...)
{
<tab>...
}
|