home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / MM1 / SOUNDUTILS / mm1_tracker.lzh / TRACKER4.6 / defs.h < prev    next >
Text File  |  1994-11-24  |  1KB  |  65 lines

  1. /* defs.h 
  2.     vi:ts=3 sw=3:
  3.  */
  4.  
  5. /* $Id: defs.h,v 4.3 1994/11/15 16:11:01 espie Exp espie $ 
  6.  * $Log: defs.h,v $
  7.  * Revision 4.3  1994/11/15  16:11:01  espie
  8.  * *** empty log message ***
  9.  *
  10.  * Revision 4.2  1994/07/04  13:57:32  espie
  11.  * Binary stuff.
  12.  * Fixed up ansi C stupid bug.
  13.  * Added prototypes, and `generic' values.
  14.  * Better portability
  15.  * Stupid fix + type casts.
  16.  * Amiga support.
  17.  * Protracker commands.
  18.  */
  19.  
  20. #include "config.h"
  21.  
  22. #ifndef EXPAND_WILDCARDS
  23. #define EXPAND_WILDCARDS(x,y)
  24. #endif
  25.  
  26. #ifdef BINARY_HEEDED
  27. #define READ_ONLY    "rb"
  28. #define WRITE_ONLY   "wb"
  29. #else
  30. #define READ_ONLY    "r"
  31. #define WRITE_ONLY   "w"
  32. #endif
  33.  
  34. #define LOCAL static
  35. /* X is too short */
  36. #define XT extern
  37.  
  38. #ifndef TRUE
  39. #define TRUE 1
  40. #define FALSE 0
  41. #endif
  42.  
  43. #define MIN(A,B) ((A)<(B) ? (A) : (B))
  44. #define MAX(A,B) ((A)>(B) ? (A) : (B))
  45.      
  46. #define D fprintf(stderr, "%d\n", __LINE__);
  47.  
  48. typedef union
  49.    {
  50.    unsigned long scalar;
  51.    float real;
  52.    GENERIC pointer;
  53.    } VALUE;
  54.  
  55. /* predefinitions for relevant structures */
  56. struct tag;
  57. struct channel;
  58. struct song;
  59. struct automaton;
  60. struct sample_info;
  61. struct event;
  62.  
  63.  
  64.  
  65.