Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Validations
a3e9acf2
Vérifiée
Valider
a3e9acf2
rédigé
Il y a 4 ans
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
MISC: Update contributing, don't use __, prefer ___
parent
75efe971
Branches
Branches contenant la validation
Étiquettes
Étiquettes contenant la validation
1 requête de fusion
!157
Caching for karas & refactor & others
Modifications
1
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
CONTRIBUTING.md
+5
-4
5 ajouts, 4 suppressions
CONTRIBUTING.md
avec
5 ajouts
et
4 suppressions
CONTRIBUTING.md
+
5
−
4
Voir le fichier @
a3e9acf2
...
@@ -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.
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter