yuzu-emu
/
yuzu
Archived
1
0
Fork 0

CONTRIBUTING: Fix some examples, escape underscores

This commit is contained in:
archshift 2014-05-20 15:08:27 -07:00 committed by bunnei
parent d6a4fbf34f
commit 0a48e97c36
1 changed files with 9 additions and 9 deletions

View File

@ -11,18 +11,18 @@ Citra is a brand new project, so we have a great opportunity to keep things clea
### Naming Rules
* Functions
* CamelCase, "_" may also be used for clarity (e.g. ARM_InitCore)
* CamelCase, `_` may also be used for clarity (e.g. `ARM_InitCore`)
* Variables
* lower_case_underscored
* Prefix "g_" if global
* Prefix "_" if internal
* Prefix "__" if ultra internal
* 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)
* CamelCase, `_` may also be used for clarity (e.g. `OGL_VideoInterface`)
* Files/Folders
* lower_case_underscored
* lower\_case\_underscored
* Namespaces
* CamelCase, "_" may also be used for clarity (e.g. ARM_InitCore)
* CamelCase, `_` may also be used for clarity (e.g. `ARM_InitCore`)
### Indentation/Whitespace Style
Follow the indentation/whitespace style shown below. Do not use tabs, use 4-spaces instead.
@ -96,7 +96,7 @@ void FooBar() {
break;
}
std::vector
std::string
you_can_declare,
a_few,
variables,