Skip to content
Extraits de code Groupes Projets
Vérifiée Valider a3e9acf2 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

MISC: Update contributing, don't use __, prefer ___

parent 75efe971
Branches
Étiquettes
1 requête de fusion!157Caching for karas & refactor & others
...@@ -46,10 +46,11 @@ script found at the root of the build tree: `./debug lektord`. ...@@ -46,10 +46,11 @@ script found at the root of the build tree: `./debug lektord`.
### C code and style ### C code and style
Prefer using `}` names for static variables and functions. Prefix the Prefer using `___` prefixed names for static variables and functions.
name of the file or folder in function names, e.g. `database_` or Prefix the name of the file or folder in function names, e.g.
`command_`. If you declare functions that really nobody should used, `database_` or `command_`. If you declare functions that really nobody
please prefix them with three underscores like `___${name}`. should used, please prefix them with three underscores like
`___dothing`. General functions are prefixed `lkt_`.
For formating, use the `./utils/scripts/style.bash` from the root of For formating, use the `./utils/scripts/style.bash` from the root of
the project. You'll need `clang-format` for it to works. the project. You'll need `clang-format` for it to works.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter