mirror of
https://github.com/libretro/RetroArch
synced 2025-02-14 15:39:59 +00:00
Update CODING-GUIDELINES
This commit is contained in:
parent
1a46943a76
commit
1eebd1196e
@ -113,5 +113,8 @@ C89-compliant.
|
||||
|
||||
Miscellaneous
|
||||
-------------
|
||||
- Brace usage follows "Allman style". The brace associated with a control statement is placed on the following line,
|
||||
indented to the same level as the control statement.
|
||||
Statements within the braces are indented to the next level.
|
||||
- A single statement block must not include brackets (unless the block uses a macro that expends into multiple lines)
|
||||
- If possible, avoid 'while (true)' and use 'for (;;)' instead
|
||||
|
Loading…
x
Reference in New Issue
Block a user