home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / Utilities / Interfaces / PlfmDef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  1.3 KB  |  51 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        PlfmDef.h
  3.  
  4.     Contains:    Platform specific definitions
  5.  
  6.     Written by:    Richard Rodseth
  7.  
  8.     Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #ifndef _PLFMDEF_
  13. #define _PLFMDEF_
  14.  
  15. #ifndef __LOWMEM__
  16. #include <LowMem.h>
  17. #endif
  18.  
  19. //==============================================================================
  20. // Macros
  21. //==============================================================================
  22.  
  23. #define    ODMethod    virtual    
  24. #define ODVMethod    virtual
  25. #define ODNVMethod
  26. #define ODPascal    pascal
  27. #define ODStatic    static
  28.  
  29. //------------------------------------------------------------------------------
  30. //
  31. // ODUnused is for parameters not used in a function. It is similar to 
  32. // #pragma unused. As a matter of fact, ODUnused can be a pragma statement
  33. // when it functions correctly in C++. For the time being, we have this little 
  34. // macro to get rid of the compiler warnings. Please use this macro instead of
  35. // commenting out the parameter name.
  36.  
  37. #define ODUnused(x)    ((void) &x)
  38.  
  39. //==============================================================================
  40. // Globals
  41. //==============================================================================
  42.  
  43. #pragma lib_export on
  44. extern QDGlobals * const gODQD;
  45. #pragma lib_export off
  46.  
  47. #define ODQDGlobals            (*gODQD)
  48.  
  49.  
  50. #endif    // _PLFMDEF_
  51.