summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLittleWhite <lw.demoscene@googlemail.com>2015-08-16 17:36:35 +0200
committerLittleWhite <lw.demoscene@googlemail.com>2015-08-16 21:20:04 +0200
commit44ef68fb4873b49af880a164f0619d4a35860875 (patch)
tree23d4c766cfe2ddf2267276d75220a8fb8678361e
parentBuild fix for Debug configurations. (diff)
downloadyuzu-44ef68fb4873b49af880a164f0619d4a35860875.tar
yuzu-44ef68fb4873b49af880a164f0619d4a35860875.tar.gz
yuzu-44ef68fb4873b49af880a164f0619d4a35860875.tar.bz2
yuzu-44ef68fb4873b49af880a164f0619d4a35860875.tar.lz
yuzu-44ef68fb4873b49af880a164f0619d4a35860875.tar.xz
yuzu-44ef68fb4873b49af880a164f0619d4a35860875.tar.zst
yuzu-44ef68fb4873b49af880a164f0619d4a35860875.zip
-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
* 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.
```cpp
+// Includes should be sorted lexicographically
+// STD includes first
+#include <map>
+#include <memory>
+
+// then, library includes
+#include <nihstro/shared_binary.h>
+
+// finally, citra includes
+#include "common/math_util.h"
+#include "common/vector_math.h"
+
+// each major module is separated
+#include "video_core/pica.h"
+#include "video_core/video_core.h"
+
namespace Example {
// Namespace contents are not indented