Commit 10d5278b authored by Jean-Paul Saman's avatar Jean-Paul Saman

README: some notes on preferred coding style

parent 114fa6be
...@@ -27,6 +27,22 @@ A mailing-list has been set up for discussion about the libdvbpsi: ...@@ -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 libdvbpsi-devel. SVN mails are sent to this list. More information on
VideoLAN website: http://www.videolan.org/ 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 Resources
========= =========
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment