mirror of
https://git.uzuy-edge.org/Uzuy-Edge/Uzuy
synced 2024-12-24 19:46:59 +00:00
CONTRIBUTING: Fix some examples, escape underscores
This commit is contained in:
parent
d6a4fbf34f
commit
0a48e97c36
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user