home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / include / inline / misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-12  |  465 b   |  21 lines

  1. #ifndef _INLINE_MISC_H
  2. #define _INLINE_MISC_H
  3.  
  4. #ifndef __INLINE_MACROS_H
  5. #include <inline/macros.h>
  6. #endif
  7.  
  8. #ifndef MISC_BASE_NAME
  9. #define MISC_BASE_NAME MiscBase
  10. #endif
  11.  
  12. #define AllocMiscResource(unitNum, name) \
  13.     LP2(0x6, UBYTE *, AllocMiscResource, unsigned long, unitNum, d0, UBYTE *, name, a1, \
  14.     , MISC_BASE_NAME)
  15.  
  16. #define FreeMiscResource(unitNum) \
  17.     LP1NR(0xc, FreeMiscResource, unsigned long, unitNum, d0, \
  18.     , MISC_BASE_NAME)
  19.  
  20. #endif /* _INLINE_MISC_H */
  21.