proto.h
Upload User: sy_wanhua
Upload Date: 2013-07-25
Package Size: 3048k
Code Size: 2k
Category:

Streaming_Mpeg4

Development Platform:

C/C++

  1. /*
  2.  * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
  3.  * Universitaet Berlin.  See the accompanying file "COPYRIGHT" for
  4.  * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
  5.  */
  6. /*$Header: /cvsroot/vocal.modules/contrib/libsndfile-0.0.22/src/GSM610/proto.h,v 1.2 2001/02/27 19:23:17 deepalir Exp $*/
  7. #ifndef PROTO_H
  8. #define PROTO_H
  9. /*#if __cplusplus*/
  10. # define NeedFunctionPrototypes 1
  11. /*#endif*/
  12. #if __STDC__
  13. # define NeedFunctionPrototypes 1
  14. #endif
  15. #ifdef _NO_PROTO
  16. # undef NeedFunctionPrototypes
  17. #endif
  18. #undef P /* gnu stdio.h actually defines this...  */
  19. #undef P0
  20. #undef P1
  21. #undef P2
  22. #undef P3
  23. #undef P4
  24. #undef P5
  25. #undef P6
  26. #undef P7
  27. #undef P8
  28. #if NeedFunctionPrototypes
  29. # define P( protos ) protos
  30. # define P0() (void)
  31. # define P1(x, a) (a)
  32. # define P2(x, a, b) (a, b)
  33. # define P3(x, a, b, c) (a, b, c)
  34. # define P4(x, a, b, c, d) (a, b, c, d)
  35. # define P5(x, a, b, c, d, e) (a, b, c, d, e)
  36. # define P6(x, a, b, c, d, e, f) (a, b, c, d, e, f)
  37. # define P7(x, a, b, c, d, e, f, g) (a, b, c, d, e, f, g)
  38. # define P8(x, a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h)
  39. #else /* !NeedFunctionPrototypes */
  40. # define P( protos ) ( /* protos */ )
  41. # define P0() ()
  42. # define P1(x, a) x a;
  43. # define P2(x, a, b) x a; b;
  44. # define P3(x, a, b, c) x a; b; c;
  45. # define P4(x, a, b, c, d) x a; b; c; d;
  46. # define P5(x, a, b, c, d, e) x a; b; c; d; e;
  47. # define P6(x, a, b, c, d, e, f) x a; b; c; d; e; f;
  48. # define P7(x, a, b, c, d, e, f, g) x a; b; c; d; e; f; g;
  49. # define P8(x, a, b, c, d, e, f, g, h) x a; b; c; d; e; f; g; h;
  50. #endif  /* !NeedFunctionPrototypes */
  51. #endif /* PROTO_H */