[cvs] / xvidcore / CodingStyle Repository:
ViewVC logotype

Diff of /xvidcore/CodingStyle

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Wed Jun 12 21:23:49 2002 UTC revision 1.2.4.1, Tue Oct 21 16:48:58 2003 UTC
# Line 59  Line 59 
59    
60          struct foo_t          struct foo_t
61          {          {
62              body of the strcuture              body of the structure
63          }          }
64    
65  Note that the closing brace is empty on a line of its own, _except_ in  Note that the closing brace is empty on a line of its own, _except_ in
# Line 77  Line 77 
77              ..              ..
78          } else if (x > y) {          } else if (x > y) {
79              ...              ...
80          }          } else {
         else {  
81              ....              ....
82          }          }
83    
# Line 269  Line 268 
268    
269  The  code  _must_ be  portable.  Don't  use  specific functions  to  a  The  code  _must_ be  portable.  Don't  use  specific functions  to  a
270  compiler/OS/libC.  Don't  use  specific  compiler pragmas,  or  syntax  compiler/OS/libC.  Don't  use  specific  compiler pragmas,  or  syntax
271  extensions.  extensions. The code _must_ be ANSI C  compliant  to ease  portability
272    on exotic platforms with only ANSI C compilers, much  more  widespread
273    than ISO C99 compilers.
274    
275  Btw, if you  have to use those deprecated/not  portable features, then  Btw, if you  have to use those deprecated/not  portable features, then
276  use the src/portab.h to write a wrapper for each targeted system.  use the src/portab.h to write a wrapper for each targeted system.
# Line 277  Line 278 
278  For the moment, the supported platforms are :  For the moment, the supported platforms are :
279    - Win32 family (x86) with VC++    - Win32 family (x86) with VC++
280    - Cygwin env (bypassing the cygwin.dll with -mno-cygwin flag)    - Cygwin env (bypassing the cygwin.dll with -mno-cygwin flag)
281    - Mingw ???    - Mingw + Minsys
282    - GNU/Linux (x86 and  ppc for optimized code, or  any other arch for    - GNU/Linux (x86 and  ppc for optimized code, or  any other arch for
283      the pure C version of the library)      the pure C version of the library)
284    - *BSD (same archs as GNU/Linux)    - *BSD (same archs as GNU/Linux)
285      - Solaris.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.4.1

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4