mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
style guide
Original commit message from CVS: style guide
This commit is contained in:
parent
991af9aab5
commit
e8b98ad786
1 changed files with 18 additions and 0 deletions
18
docs/random/styleguide
Normal file
18
docs/random/styleguide
Normal file
|
@ -0,0 +1,18 @@
|
|||
Some notes about various stylistic issues
|
||||
-----------------------------------------
|
||||
|
||||
(This file should end up as a nice web page eventually)
|
||||
|
||||
CODING STYLE
|
||||
------------
|
||||
- No //-style comments allowed. Never. Reason: Forte doesn't support it.
|
||||
- Our indentation style is codified in gstreamer/tools/gst-indent
|
||||
- Don't mix tabs with spaces when writing new code.
|
||||
- use GST_*_OBJECT as much as possible so it's clear which object you're
|
||||
logging for
|
||||
|
||||
SUBMITTING CODE
|
||||
---------------
|
||||
- new code submitted to core, plugins-base, or plugins-good needs to pass a
|
||||
review from another committer.
|
||||
- submitting new base classes also means you look at targets for assimilation.
|
Loading…
Reference in a new issue