... | ... | @@ -74,8 +74,8 @@ Many of the rules of the [FreeBS kernel style](https://www.freebsd.org/cgi/man.c |
|
|
* function and variable declaration and definition
|
|
|
* **Never** declare or define functions with empty brackets. Always use `void`.
|
|
|
* When defining/declaring a reference or pointer, **always** attach the `*` or `*` to the variable:
|
|
|
* `void func(struct A *a)` (**NOT** `void func(struct A* a)`)
|
|
|
* `const MyClass &ref` (**NOT** `const MyClass& ref`)
|
|
|
* `void func(struct A *a)` (**NOT** `void func(struct A* a)` or `void func(struct A * a)`)
|
|
|
* `const MyClass &ref` (**NOT** `const MyClass& ref` or `const MyClass & ref`)
|
|
|
|
|
|
## Doxygen
|
|
|
|
... | ... | |