home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / MAXONC3_6OF8.DMS / in.adf / incl.lha / INCLUDE / pragma / misc_lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-22  |  388 b   |  22 lines

  1. // pragmas for misc.library
  2. // (c) Maxon Computer 1994
  3. #ifndef _INCLUDE_PRAGMA_MISC_LIB_H
  4. #define _INCLUDE_PRAGMA_MISC_LIB_H
  5.  
  6. #ifdef __cplusplus
  7. #define CPLUSPLUSON
  8. #pragma -
  9. #endif
  10.  
  11. #include <clib/misc_protos.h>
  12.  
  13. #pragma amicall(MiscBase, 0x6, AllocMiscResource(d0,a1))
  14. #pragma amicall(MiscBase, 0xc, FreeMiscResource(d0))
  15.  
  16. #ifdef CPLUSPLUSON
  17. #undef CPLUSPLUSON
  18. #pragma +
  19. #endif
  20.  
  21. #endif
  22.