blob: b92225777277457f352e8fca58a8df39fee74613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
The general rules of conduct are:
* Code identation is 4 spaces NO TABS
* Function parameters start at column 48, one param per line
* Use inside-code gtk doc documentation for everything
* Do not put documentation outside of the code
* Use g_assert's inside private functions where it makes sense (they're not
compiled-in by default)
* Put space to separate operators. Ie:
{
some_function (param1, param2);
a = 1 + 2;
b [1] = 10;
}
NEVER EVER DO:
{
some_function(param1,param2);
a=1+2;
b[1]=10;
}
* Small testing programs can be put in the examples/ directory. They can be run
without installation blah blah blah blah blah blah blah blah
* Obey the rules present in the existing code base -- it's pretty consistent
* Use ONE blank line to separate things
|