style guide

Original commit message from CVS:
style guide
This commit is contained in:
Thomas Vander Stichele 2006-03-06 16:24:34 +00:00
parent 991af9aab5
commit e8b98ad786

18
docs/random/styleguide Normal file
View 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.