summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CONTRIBUTING.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f2dbdf1a4..28b8b4031 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -25,6 +25,22 @@ Follow the indentation/whitespace style shown below. Do not use tabs, use 4-spac
25* For items that are both defined and declared in two separate files, put the doc-comment only next to the associated declaration. (In a header file, usually.) Otherwise, put it next to the implementation. Never duplicate doc-comments in both places. 25* For items that are both defined and declared in two separate files, put the doc-comment only next to the associated declaration. (In a header file, usually.) Otherwise, put it next to the implementation. Never duplicate doc-comments in both places.
26 26
27```cpp 27```cpp
28// Includes should be sorted lexicographically
29// STD includes first
30#include <map>
31#include <memory>
32
33// then, library includes
34#include <nihstro/shared_binary.h>
35
36// finally, citra includes
37#include "common/math_util.h"
38#include "common/vector_math.h"
39
40// each major module is separated
41#include "video_core/pica.h"
42#include "video_core/video_core.h"
43
28namespace Example { 44namespace Example {
29 45
30// Namespace contents are not indented 46// Namespace contents are not indented