PCSX2 Documentation/Code Formatting Guidelines: Difference between revisions
PCSX2 Documentation/Code Formatting Guidelines (view source)
Revision as of 22:29, 8 January 2015
, 8 January 2015→Example:
No edit summary |
|||
Line 38: | Line 38: | ||
===Example:=== | ===Example:=== | ||
<code> | |||
// Not so good... | // Not so good... | ||
void DoSomething() { Function1(); Function2(); var += 1; }</code> | |||
// Good... | // Good... | ||
void DoSomething() { | |||
Function1(); Function2(); var += 1; | Function1(); Function2(); var += 1; | ||
} | } | ||
</code> | </code> | ||