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

  1. // pragmas for battclock.library
  2. // (c) Maxon Computer 1994
  3. #ifndef _INCLUDE_PRAGMA_BATTCLOCK_LIB_H
  4. #define _INCLUDE_PRAGMA_BATTCLOCK_LIB_H
  5.  
  6. #ifdef __cplusplus
  7. #define CPLUSPLUSON
  8. #pragma -
  9. #endif
  10.  
  11. #include <clib/battclock_protos.h>
  12.  
  13.  
  14. #pragma amicall(BattClockBase, 0x6, ResetBattClock())
  15. #pragma amicall(BattClockBase, 0xc, ReadBattClock())
  16. #pragma amicall(BattClockBase, 0x12, WriteBattClock(d0))
  17.  
  18. #ifdef CPLUSPLUSON
  19. #undef CPLUSPLUSON
  20. #pragma +
  21. #endif
  22.  
  23. #endif
  24.