mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 23:50: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
|
* Variables
|
||||||
* lower_case_underscored
|
* lower_case_underscored
|
||||||
* Prefix "g_" if global
|
* Prefix "g_" if global
|
||||||
* Prefix "_" if internal
|
|
||||||
* Prefix "__" if ultra internal
|
|
||||||
* Classes
|
* Classes
|
||||||
* CamelCase, "_" may also be used for clarity (e.g. OGL_VideoInterface)
|
* CamelCase, "_" may also be used for clarity (e.g. OGL_VideoInterface)
|
||||||
* Files/Folders
|
* Files/Folders
|
||||||
@ -86,8 +84,6 @@ void FooBar() {
|
|||||||
case 3:
|
case 3:
|
||||||
DoSomething(var);
|
DoSomething(var);
|
||||||
return;
|
return;
|
||||||
// Always break, even after a return
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// Yes, even break for the last case
|
// Yes, even break for the last case
|
||||||
|
Loading…
Reference in New Issue
Block a user