From 140ffc62a23b22f84656ae768cfe719658aedbc2 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Mon, 30 Nov 2009 21:37:30 +0000 Subject: Trim trailing space & reduce space+tab. --- doc/hackersguide/overview.docbook | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/hackersguide/overview.docbook') 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 @@ libmad (imported) - 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. @@ -529,7 +529,7 @@ Object oriented programming in C - 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; Each method is implemented as a static method (static to prevent @@ -646,7 +646,7 @@ - + Coding style and guidelines @@ -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. - + Comment your interfaces directly in the header files. No doxygen comments, ordinary C comments will do. - + Use C-style comments (/* */), not C++-style (//). - + When in doubt, use lower case. BTW: This thing is called xine, never Xine. - + 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). - + Avoid macros unless they are really useful. Avoid gotos. - + use something like    printf("module: ..."[,…]); @@ -692,7 +692,7 @@ output (see example above). - + 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 @@ - + The xine logging system -- cgit v1.2.3