CONTRIBUTING: document style guide about naming in header files

This commit is contained in:
Thomas Haller 2022-01-19 18:14:48 +01:00
parent c1dab5709d
commit 50dc71323b
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -100,6 +100,10 @@ guidelines. Following there are a few noteworthy points.
* Don't use `GDBusProxy` or `GDBusObjectManager`. Use plain `GDBusConnection`.
* Names in our header files should always have an "nm" prefix (like "nm_",
"NM_", "_nm_", "_nmp_"). Names in source files usually should not have an
"nm" prefix.
* Indent with spaces. (_no_ tabs).
* C-style comments