... | ... | @@ -11,13 +11,15 @@ Prefixes are given to public variables or all functions and is based on the file |
|
|
- static variable : `static type _private_variable`
|
|
|
- pointer : `type *pointer_to_something`
|
|
|
## Naming functions
|
|
|
- normal and static : `(static) type function(type argument, type *pointer) {`
|
|
|
- normal and static : `(static) type function(type argument, type *pointer)
|
|
|
{`
|
|
|
- function pointer : inconsistent and should be fixed.
|
|
|
## Code format
|
|
|
|
|
|
Here's a sample on how FiXos code should look. (Precisions shouldbe given on spacing, space v.s. tabs, using blank lines, etc...)
|
|
|
```c
|
|
|
void sample_function_1(int c) {
|
|
|
void sample_function_1(int c)
|
|
|
{
|
|
|
int a;
|
|
|
float *b;
|
|
|
|
... | ... | |