home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / compiler / alib / alib_intern.h next >
Encoding:
C/C++ Source or Header  |  1997-01-09  |  846 b   |  35 lines

  1. #ifndef _ALIB_INTERN_H
  2. #define _ALIB_INTERN_H
  3. /*
  4.     (C) 1995-96 AROS - The Amiga Replacement OS
  5.     $Id: alib_intern.h,v 1.2 1996/11/28 10:40:27 aros Exp $
  6.  
  7.     Desc:
  8.     Lang: english
  9. */
  10.  
  11. #ifndef EXEC_TYPES_H
  12. #   include <exec/types.h>
  13. #endif
  14. #ifndef UTILITY_HOOKS_H
  15. #   include <utility/hooks.h>
  16. #endif
  17. #ifndef AROS_SYSTEM_H
  18. #   include <aros/system.h>
  19. #endif
  20. #ifndef AROS_ASMCALL_H
  21. #   include <aros/asmcall.h>
  22. #endif
  23.  
  24. IPTR CallHookPkt (struct Hook * hook, APTR object, APTR paramPacket);
  25. #ifndef AROS_SLOWCALLHOOKPKT
  26. #   define CallHookPkt(h,o,p)                                   \
  27.         AROS_UFC3(IPTR, (((struct Hook *)(h))->h_Entry),    \
  28.         AROS_UFHA(struct Hook *, h, A0),                \
  29.         AROS_UFHA(APTR,          o, A2),                \
  30.         AROS_UFHA(APTR,          p, A1)                 \
  31.         )
  32. #endif
  33.  
  34. #endif /* _ALIB_INTERN_H */
  35.