mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 21:10:10 +00:00
Updated Coding Style (markdown)
parent
a944c9fb0e
commit
0f48d4f38c
@ -13,8 +13,6 @@ Citra is a brand new project, so we have a great opportunity to keep things clea
|
||||
* Variables
|
||||
* lower_case_underscored
|
||||
* Prefix "g_" if global
|
||||
* Prefix "_" if internal
|
||||
* Prefix "__" if ultra internal
|
||||
* Classes
|
||||
* CamelCase, "_" may also be used for clarity (e.g. OGL_VideoInterface)
|
||||
* Files/Folders
|
||||
@ -86,8 +84,6 @@ void FooBar() {
|
||||
case 3:
|
||||
DoSomething(var);
|
||||
return;
|
||||
// Always break, even after a return
|
||||
break;
|
||||
|
||||
default:
|
||||
// Yes, even break for the last case
|
||||
|
Loading…
Reference in New Issue
Block a user