aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
blob: 0e6030da4ad8dbb6fbf97052e7b0c84cc5fc712a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
In order to keep the code nice and clean we have a few requirements you'll
need to stick to in order to get your patch accepted:

- use 2-space no-tabs for indentation (mandatory on new files, old ones will
  be re-indented eventually. When modifying an existing file with 8-space
  indentation keep the old style please)
- curly brackets are on a new line
- please compare with NULL or FALSE isntead of using "!"
- callback functions have a suffix _cb
- all files have to be encoded in UTF-8

  Comment blocks are written like this:
  
/*
 * bla_bla_cb: This is an example comment block
 */

See ChangeLog.README for SVN checkin rules.

Do NOT commit to this module without permission from a maintainer.
See the MAINTAINERS file for who they are.