... | @@ -10,10 +10,12 @@ Prefixes are given to public variables or all functions and is based on the file |
... | @@ -10,10 +10,12 @@ Prefixes are given to public variables or all functions and is based on the file |
|
- normal variable : `type this_is_variable`
|
|
- normal variable : `type this_is_variable`
|
|
- 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...)
|
... | | ... | |