home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / STORM2.DMS / in.adf / Includes.LHA / pragma / battmem_lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-01  |  577 b   |  28 lines

  1. // pragmas for battmem.library
  2. // (c) 1995 HAAGE & PARTNER Computer GmbH
  3.  
  4.  
  5. #ifndef _INCLUDE_PRAGMA_BATTMEM_LIB_H
  6. #define _INCLUDE_PRAGMA_BATTMEM_LIB_H
  7.  
  8. #ifndef  CLIB_BATTMEM_PROTOS_H
  9. #include <clib/battmem_protos.h>
  10. #endif
  11.  
  12. #ifdef __cplusplus
  13. #define CPLUSPLUSON
  14. #pragma -
  15. #endif
  16.  
  17. #pragma amicall(BattMemBase, 0x6, ObtainBattSemaphore())
  18. #pragma amicall(BattMemBase, 0xc, ReleaseBattSemaphore())
  19. #pragma amicall(BattMemBase, 0x12, ReadBattMem(a0,d0,d1))
  20. #pragma amicall(BattMemBase, 0x18, WriteBattMem(a0,d0,d1))
  21.  
  22. #ifdef CPLUSPLUSON
  23. #undef CPLUSPLUSON
  24. #pragma +
  25. #endif
  26.  
  27. #endif
  28.