mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 23:50:05 +00:00
Update CONTRIBUTING.md
`type *var;` is better than `type* var;` due to the case of `type* var1, var2;` where `var1` is `type*` but `var2` is `type`, thus causing confusion.
This commit is contained in:
parent
bdeadb4ca2
commit
3a516e2bdd
@ -31,7 +31,7 @@ namespace Example {
|
|||||||
|
|
||||||
// Declare globals at the top
|
// Declare globals at the top
|
||||||
int g_foo = 0;
|
int g_foo = 0;
|
||||||
char* g_some_pointer; // Notice the position of the *
|
char *g_some_pointer; // Notice the position of the *
|
||||||
|
|
||||||
enum SomeEnum {
|
enum SomeEnum {
|
||||||
COLOR_RED,
|
COLOR_RED,
|
||||||
|
Loading…
Reference in New Issue
Block a user