446 B
446 B
skunkworks-c
code standard
snake_case for variables, function names, and struct names. always explicit struct, no typedefs. prefix struct members with _ (yes, its allowed, but within structs only) if "private". function order:
- create functions(including unnamed value type ones)
- destroy functions
- empty line
- static functions(ones that don't take object as parameter)
- empty line
- methods(ones that do take object as parameter)