Changes
Page history
Typoooooo
authored
Mar 08, 2015
by
Eiyeron Fulmincendii
Hide whitespace changes
Inline
Side-by-side
programming-style.markdown
View page @
72a16c99
...
...
@@ -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
;
...
...
...
...