summaryrefslogtreecommitdiff
path: root/docs/Contributing/c-coding-style.md
blob: 4e268ccb6c20b3aa34acb70bfdee548b1984586d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
title: C Coding Style
---

A lot of these should be forced onto you by `clang-format` and `clang-tidy` but for posterity here are
a few of the styles that we stick to.

* **Pointer next to type** - we use `type* variable` in function signatures and variable declarations e.g. `mat4* model`


## Memory

### Arena allocation