diff options
| author | 2014-05-20 15:08:27 -0700 | |
|---|---|---|
| committer | 2014-06-12 06:10:46 -0400 | |
| commit | 0a48e97c3665eed62d7ad9b5a1d8dbc6db9ec63b (patch) | |
| tree | 733d9427413c18ae5621b02a459be266cc207548 | |
| parent | Added CONTRIBUTING.md with contents from Coding Style, updated README link (diff) | |
| download | yuzu-0a48e97c3665eed62d7ad9b5a1d8dbc6db9ec63b.tar.gz yuzu-0a48e97c3665eed62d7ad9b5a1d8dbc6db9ec63b.tar.xz yuzu-0a48e97c3665eed62d7ad9b5a1d8dbc6db9ec63b.zip | |
CONTRIBUTING: Fix some examples, escape underscores
Diffstat (limited to '')
| -rw-r--r-- | CONTRIBUTING.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 74c84b002..49742e4e0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
| @@ -11,18 +11,18 @@ Citra is a brand new project, so we have a great opportunity to keep things clea | |||
| 11 | 11 | ||
| 12 | ### Naming Rules | 12 | ### Naming Rules |
| 13 | * Functions | 13 | * Functions |
| 14 | * CamelCase, "_" may also be used for clarity (e.g. ARM_InitCore) | 14 | * CamelCase, `_` may also be used for clarity (e.g. `ARM_InitCore`) |
| 15 | * Variables | 15 | * Variables |
| 16 | * lower_case_underscored | 16 | * lower\_case\_underscored |
| 17 | * Prefix "g_" if global | 17 | * Prefix `g_` if global |
| 18 | * Prefix "_" if internal | 18 | * Prefix `_` if internal |
| 19 | * Prefix "__" if ultra internal | 19 | * Prefix `__` if ultra internal |
| 20 | * Classes | 20 | * Classes |
| 21 | * CamelCase, "_" may also be used for clarity (e.g. OGL_VideoInterface) | 21 | * CamelCase, `_` may also be used for clarity (e.g. `OGL_VideoInterface`) |
| 22 | * Files/Folders | 22 | * Files/Folders |
| 23 | * lower_case_underscored | 23 | * lower\_case\_underscored |
| 24 | * Namespaces | 24 | * Namespaces |
| 25 | * CamelCase, "_" may also be used for clarity (e.g. ARM_InitCore) | 25 | * CamelCase, `_` may also be used for clarity (e.g. `ARM_InitCore`) |
| 26 | 26 | ||
| 27 | ### Indentation/Whitespace Style | 27 | ### Indentation/Whitespace Style |
| 28 | Follow the indentation/whitespace style shown below. Do not use tabs, use 4-spaces instead. | 28 | Follow the indentation/whitespace style shown below. Do not use tabs, use 4-spaces instead. |
| @@ -96,7 +96,7 @@ void FooBar() { | |||
| 96 | break; | 96 | break; |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | std::vector | 99 | std::string |
| 100 | you_can_declare, | 100 | you_can_declare, |
| 101 | a_few, | 101 | a_few, |
| 102 | variables, | 102 | variables, |