home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / fd2inline_bin.lha / include / inline / muimaster.h < prev    next >
C/C++ Source or Header  |  1997-01-31  |  5KB  |  140 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_MUIMASTER_H
  4. #define _INLINE_MUIMASTER_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef MUIMASTER_BASE_NAME
  11. #define MUIMASTER_BASE_NAME MUIMasterBase
  12. #endif /* !MUIMASTER_BASE_NAME */
  13.  
  14. #define MUI_AddClipRegion(mri, region) \
  15.     LP2(0xb4, APTR, MUI_AddClipRegion, struct MUI_RenderInfo *, mri, a0, struct Region *, region, a1, \
  16.     , MUIMASTER_BASE_NAME)
  17.  
  18. #define MUI_AddClipping(mri, l, t, w, h) \
  19.     LP5(0xa8, APTR, MUI_AddClipping, struct MUI_RenderInfo *, mri, a0, WORD, l, d0, WORD, t, d1, WORD, w, d2, WORD, h, d3, \
  20.     , MUIMASTER_BASE_NAME)
  21.  
  22. #define MUI_AllocAslRequest(type, tags) \
  23.     LP2(0x30, APTR, MUI_AllocAslRequest, unsigned long, type, d0, struct TagItem *, tags, a0, \
  24.     , MUIMASTER_BASE_NAME)
  25.  
  26. #ifndef NO_INLINE_STDARG
  27. #define MUI_AllocAslRequestTags(a0, tags...) \
  28.     ({ULONG _tags[] = { tags }; MUI_AllocAslRequest((a0), (struct TagItem *)_tags);})
  29. #endif /* !NO_INLINE_STDARG */
  30.  
  31. #define MUI_AslRequest(req, tags) \
  32.     LP2(0x36, BOOL, MUI_AslRequest, APTR, req, a0, struct TagItem *, tags, a1, \
  33.     , MUIMASTER_BASE_NAME)
  34.  
  35. #ifndef NO_INLINE_STDARG
  36. #define MUI_AslRequestTags(a0, tags...) \
  37.     ({ULONG _tags[] = { tags }; MUI_AslRequest((a0), (struct TagItem *)_tags);})
  38. #endif /* !NO_INLINE_STDARG */
  39.  
  40. #define MUI_BeginRefresh(mri, flags) \
  41.     LP2(0xc0, BOOL, MUI_BeginRefresh, struct MUI_RenderInfo *, mri, a0, ULONG, flags, d0, \
  42.     , MUIMASTER_BASE_NAME)
  43.  
  44. #define MUI_CreateCustomClass(base, supername, supermcc, datasize, dispatcher) \
  45.     LP5(0x6c, struct MUI_CustomClass *, MUI_CreateCustomClass, struct Library *, base, a0, char *, supername, a1, struct MUI_CustomClass *, supermcc, a2, int, datasize, d0, APTR, dispatcher, a3, \
  46.     , MUIMASTER_BASE_NAME)
  47.  
  48. #define MUI_DeleteCustomClass(mcc) \
  49.     LP1(0x72, BOOL, MUI_DeleteCustomClass, struct MUI_CustomClass *, mcc, a0, \
  50.     , MUIMASTER_BASE_NAME)
  51.  
  52. #define MUI_DisposeObject(obj) \
  53.     LP1NR(0x24, MUI_DisposeObject, Object *, obj, a0, \
  54.     , MUIMASTER_BASE_NAME)
  55.  
  56. #define MUI_EndRefresh(mri, flags) \
  57.     LP2NR(0xc6, MUI_EndRefresh, struct MUI_RenderInfo *, mri, a0, ULONG, flags, d0, \
  58.     , MUIMASTER_BASE_NAME)
  59.  
  60. #define MUI_Error() \
  61.     LP0(0x42, LONG, MUI_Error, \
  62.     , MUIMASTER_BASE_NAME)
  63.  
  64. #define MUI_FreeAslRequest(req) \
  65.     LP1NR(0x3c, MUI_FreeAslRequest, APTR, req, a0, \
  66.     , MUIMASTER_BASE_NAME)
  67.  
  68. #define MUI_FreeClass(cl) \
  69.     LP1NR(0x54, MUI_FreeClass, struct IClass *, cl, a0, \
  70.     , MUIMASTER_BASE_NAME)
  71.  
  72. #define MUI_GetClass(name) \
  73.     LP1(0x4e, struct IClass *, MUI_GetClass, char *, name, a0, \
  74.     , MUIMASTER_BASE_NAME)
  75.  
  76. #define MUI_Layout(obj, l, t, w, h, flags) \
  77.     LP6(0x7e, BOOL, MUI_Layout, Object *, obj, a0, LONG, l, d0, LONG, t, d1, LONG, w, d2, LONG, h, d3, ULONG, flags, d4, \
  78.     , MUIMASTER_BASE_NAME)
  79.  
  80. #define MUI_MakeObjectA(type, params) \
  81.     LP2(0x78, Object *, MUI_MakeObjectA, LONG, type, d0, ULONG *, params, a0, \
  82.     , MUIMASTER_BASE_NAME)
  83.  
  84. #ifndef NO_INLINE_STDARG
  85. #define MUI_MakeObject(a0, tags...) \
  86.     ({ULONG _tags[] = { tags }; MUI_MakeObjectA((a0), (ULONG *)_tags);})
  87. #endif /* !NO_INLINE_STDARG */
  88.  
  89. #define MUI_NewObjectA(class, tags) \
  90.     LP2(0x1e, Object *, MUI_NewObjectA, char *, class, a0, struct TagItem *, tags, a1, \
  91.     , MUIMASTER_BASE_NAME)
  92.  
  93. #ifndef NO_INLINE_STDARG
  94. #define MUI_NewObject(a0, tags...) \
  95.     ({ULONG _tags[] = { tags }; MUI_NewObjectA((a0), (struct TagItem *)_tags);})
  96. #endif /* !NO_INLINE_STDARG */
  97.  
  98. #define MUI_ObtainPen(mri, spec, flags) \
  99.     LP3(0x9c, LONG, MUI_ObtainPen, struct MUI_RenderInfo *, mri, a0, struct MUI_PenSpec *, spec, a1, ULONG, flags, d0, \
  100.     , MUIMASTER_BASE_NAME)
  101.  
  102. #define MUI_Redraw(obj, flags) \
  103.     LP2NR(0x66, MUI_Redraw, Object *, obj, a0, ULONG, flags, d0, \
  104.     , MUIMASTER_BASE_NAME)
  105.  
  106. #define MUI_RejectIDCMP(obj, flags) \
  107.     LP2NR(0x60, MUI_RejectIDCMP, Object *, obj, a0, ULONG, flags, d0, \
  108.     , MUIMASTER_BASE_NAME)
  109.  
  110. #define MUI_ReleasePen(mri, pen) \
  111.     LP2NR(0xa2, MUI_ReleasePen, struct MUI_RenderInfo *, mri, a0, LONG, pen, d0, \
  112.     , MUIMASTER_BASE_NAME)
  113.  
  114. #define MUI_RemoveClipRegion(mri, region) \
  115.     LP2NR(0xba, MUI_RemoveClipRegion, struct MUI_RenderInfo *, mri, a0, APTR, region, a1, \
  116.     , MUIMASTER_BASE_NAME)
  117.  
  118. #define MUI_RemoveClipping(mri, h) \
  119.     LP2NR(0xae, MUI_RemoveClipping, struct MUI_RenderInfo *, mri, a0, APTR, h, a1, \
  120.     , MUIMASTER_BASE_NAME)
  121.  
  122. #define MUI_RequestA(app, win, flags, title, gadgets, format, params) \
  123.     LP7(0x2a, LONG, MUI_RequestA, APTR, app, d0, APTR, win, d1, LONGBITS, flags, d2, char *, title, a0, char *, gadgets, a1, char *, format, a2, APTR, params, a3, \
  124.     , MUIMASTER_BASE_NAME)
  125.  
  126. #ifndef NO_INLINE_STDARG
  127. #define MUI_Request(a0, a1, a2, a3, a4, a5, tags...) \
  128.     ({ULONG _tags[] = { tags }; MUI_RequestA((a0), (a1), (a2), (a3), (a4), (a5), (APTR)_tags);})
  129. #endif /* !NO_INLINE_STDARG */
  130.  
  131. #define MUI_RequestIDCMP(obj, flags) \
  132.     LP2NR(0x5a, MUI_RequestIDCMP, Object *, obj, a0, ULONG, flags, d0, \
  133.     , MUIMASTER_BASE_NAME)
  134.  
  135. #define MUI_SetError(errnum) \
  136.     LP1(0x48, LONG, MUI_SetError, LONG, errnum, d0, \
  137.     , MUIMASTER_BASE_NAME)
  138.  
  139. #endif /* !_INLINE_MUIMASTER_H */
  140.