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