diff options
author | Jean-Paul Saman <jean-paul.saman@m2x.nl> | 2014-02-02 12:26:44 +0100 |
---|---|---|
committer | Jean-Paul Saman <jean-paul.saman@m2x.nl> | 2014-02-04 10:52:03 +0100 |
commit | 10d5278b706ef8636d9ca7c07524a74f1e398e27 (patch) | |
tree | 809542290315ae65a914a7225f71ef6c7a69ad1f | |
parent | 114fa6be8909e90503195c8596402c31b3342128 (diff) |
README: some notes on preferred coding style
-rw-r--r-- | README | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -27,6 +27,22 @@ A mailing-list has been set up for discussion about the libdvbpsi: libdvbpsi-devel. SVN mails are sent to this list. More information on VideoLAN website: http://www.videolan.org/ +Coding Style +============ +Some notes on the preferred coding style is: +- 4 spaces indentation (no tabs) +- indent '{' and '}' on the same column as the 'if', eg: + if (...) + { + .... + } +- function declarations always start in the first column +- indexes for loops should be declared in the loop declaration, eg: + for (int i = 0; i < max; i++) + { + .... + } + Resources ========= |