diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-11-30 21:37:30 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-11-30 21:37:30 +0000 |
commit | 140ffc62a23b22f84656ae768cfe719658aedbc2 (patch) | |
tree | 59a2e2ac37121ba9c8b11254f1671432e900db94 /doc/hackersguide/overview.docbook | |
parent | 5f4681b57dd227a2d2a2dd9050fb6103daa6fabd (diff) | |
download | xine-lib-140ffc62a23b22f84656ae768cfe719658aedbc2.tar.gz xine-lib-140ffc62a23b22f84656ae768cfe719658aedbc2.tar.bz2 |
Trim trailing space & reduce space+tab.
Diffstat (limited to 'doc/hackersguide/overview.docbook')
-rw-r--r-- | doc/hackersguide/overview.docbook | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/hackersguide/overview.docbook b/doc/hackersguide/overview.docbook index eb62e5bd3..18cc40396 100644 --- a/doc/hackersguide/overview.docbook +++ b/doc/hackersguide/overview.docbook @@ -201,7 +201,7 @@ <term><filename>libmad</filename> (imported)</term> <listitem> <para> - Mpeg audio decoder plugin (i.e. mp2 and mp3 decoding). + Mpeg audio decoder plugin (i.e. mp2 and mp3 decoding). ISO/IEC compliant decoder using fixed point math. </para> <para></para> @@ -529,7 +529,7 @@ <sect1> <title>Object oriented programming in C</title> <para> - xine uses a lot of design principles normally found in + xine uses a lot of design principles normally found in object oriented designs. As xine is written in C, a few basic principles shall be explained here on how xine is object oriented anyway. @@ -561,7 +561,7 @@ my_stack_t stack; /* public part */ /* private part follows here */ - int values[MAX_STACK_SIZE]; + int values[MAX_STACK_SIZE]; int stack_size; } intstack_t;</programlisting> Each method is implemented as a static method (static to prevent @@ -646,7 +646,7 @@ </para> </sect2> </sect1> - + <sect1> <title>Coding style and guidelines</title> <para> @@ -655,35 +655,35 @@ Contributions will not be rejected if they do not meet these rules but they will be even more appreciated if they do. <itemizedlist> - <listitem> + <listitem> <para> Comment your interfaces directly in the header files. No doxygen comments, ordinary C comments will do. </para> </listitem> - <listitem> + <listitem> <para> Use C-style comments (/* */), not C++-style (//). </para> </listitem> - <listitem> + <listitem> <para> When in doubt, use lower case. BTW: This thing is called xine, never Xine. </para> </listitem> - <listitem> + <listitem> <para> Use expressive variable and function identifiers on all public interfaces. Use underscores to seperate words in identifiers, not uppercase letters (my_function_name is ok, myFunctionName is not ok). </para> </listitem> - <listitem> + <listitem> <para> Avoid macros unless they are really useful. Avoid gotos. </para> </listitem> - <listitem> + <listitem> <para> use something like <programlisting> printf("module: ..."[,…]);</programlisting> @@ -692,7 +692,7 @@ output (see example above). </para> </listitem> - <listitem> + <listitem> <para> Refer to emac's C-mode for all questions of proper indentiation. That first of all means: indent with two spaces. @@ -701,7 +701,7 @@ </itemizedlist> </para> </sect1> - + <sect1> <title>The xine logging system</title> <para> |