revert between 56095 -> 55830 in arch
[AROS.git] / workbench / classes / zune / betterstring / include / ppcinline / muimaster.h
blob96942ba8360a3b3065ca8f14302dcdef5e55c515
1 /* Automatically generated header! Do not edit! */
3 #ifndef _PPCINLINE_MUIMASTER_H
4 #define _PPCINLINE_MUIMASTER_H
6 #ifndef __PPCINLINE_MACROS_H
7 #include <ppcinline/macros.h>
8 #endif /* !__PPCINLINE_MACROS_H */
10 #ifndef MUIMASTER_BASE_NAME
11 #define MUIMASTER_BASE_NAME MUIMasterBase
12 #endif /* !MUIMASTER_BASE_NAME */
14 #define MUI_ObtainPen(__p0, __p1, __p2) \
15 LP3(156, LONG , MUI_ObtainPen, \
16 struct MUI_RenderInfo *, __p0, a0, \
17 struct MUI_PenSpec *, __p1, a1, \
18 ULONG , __p2, d0, \
19 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
21 #define MUI_RemoveClipping(__p0, __p1) \
22 LP2NR(174, MUI_RemoveClipping, \
23 struct MUI_RenderInfo *, __p0, a0, \
24 APTR , __p1, a1, \
25 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
27 #define MUI_ReleasePen(__p0, __p1) \
28 LP2NR(162, MUI_ReleasePen, \
29 struct MUI_RenderInfo *, __p0, a0, \
30 LONG , __p1, d0, \
31 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
33 #define MUI_EndRefresh(__p0, __p1) \
34 LP2NR(198, MUI_EndRefresh, \
35 struct MUI_RenderInfo *, __p0, a0, \
36 ULONG , __p1, d0, \
37 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
39 #define MUI_AllocAslRequest(__p0, __p1) \
40 LP2(48, APTR , MUI_AllocAslRequest, \
41 unsigned long , __p0, d0, \
42 struct TagItem *, __p1, a0, \
43 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
45 #define MUI_DisposeObject(__p0) \
46 LP1NR(36, MUI_DisposeObject, \
47 Object *, __p0, a0, \
48 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
50 #define MUI_SetError(__p0) \
51 LP1(72, LONG , MUI_SetError, \
52 LONG , __p0, d0, \
53 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
55 #define MUI_RemoveClipRegion(__p0, __p1) \
56 LP2NR(186, MUI_RemoveClipRegion, \
57 struct MUI_RenderInfo *, __p0, a0, \
58 APTR , __p1, a1, \
59 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
61 #define MUI_Layout(__p0, __p1, __p2, __p3, __p4, __p5) \
62 LP6(126, BOOL , MUI_Layout, \
63 Object *, __p0, a0, \
64 LONG , __p1, d0, \
65 LONG , __p2, d1, \
66 LONG , __p3, d2, \
67 LONG , __p4, d3, \
68 ULONG , __p5, d4, \
69 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
71 #define MUI_NewObjectA(__p0, __p1) \
72 LP2(30, Object *, MUI_NewObjectA, \
73 const char *, __p0, a0, \
74 struct TagItem *, __p1, a1, \
75 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
77 #define MUI_Redraw(__p0, __p1) \
78 LP2NR(102, MUI_Redraw, \
79 Object *, __p0, a0, \
80 ULONG , __p1, d0, \
81 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
83 #define MUI_AslRequest(__p0, __p1) \
84 LP2(54, BOOL , MUI_AslRequest, \
85 APTR , __p0, a0, \
86 struct TagItem *, __p1, a1, \
87 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
89 #define MUI_BeginRefresh(__p0, __p1) \
90 LP2(192, BOOL , MUI_BeginRefresh, \
91 struct MUI_RenderInfo *, __p0, a0, \
92 ULONG , __p1, d0, \
93 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
95 #define MUI_CreateCustomClass(__p0, __p1, __p2, __p3, __p4) \
96 LP5(108, struct MUI_CustomClass *, MUI_CreateCustomClass, \
97 struct Library *, __p0, a0, \
98 const char *, __p1, a1, \
99 struct MUI_CustomClass *, __p2, a2, \
100 int , __p3, d0, \
101 APTR , __p4, a3, \
102 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
104 #define MUI_RequestA(__p0, __p1, __p2, __p3, __p4, __p5, __p6) \
105 LP7(42, LONG , MUI_RequestA, \
106 APTR , __p0, d0, \
107 APTR , __p1, d1, \
108 LONGBITS , __p2, d2, \
109 const char *, __p3, a0, \
110 const char *, __p4, a1, \
111 const char *, __p5, a2, \
112 APTR , __p6, a3, \
113 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
115 #define MUI_Error() \
116 LP0(66, LONG , MUI_Error, \
117 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
119 #define MUI_AddClipRegion(__p0, __p1) \
120 LP2(180, APTR , MUI_AddClipRegion, \
121 struct MUI_RenderInfo *, __p0, a0, \
122 struct Region *, __p1, a1, \
123 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
125 #define MUI_RequestIDCMP(__p0, __p1) \
126 LP2NR(90, MUI_RequestIDCMP, \
127 Object *, __p0, a0, \
128 ULONG , __p1, d0, \
129 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
131 #define MUI_FreeClass(__p0) \
132 LP1NR(84, MUI_FreeClass, \
133 struct IClass *, __p0, a0, \
134 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
136 #define MUI_AddClipping(__p0, __p1, __p2, __p3, __p4) \
137 LP5(168, APTR , MUI_AddClipping, \
138 struct MUI_RenderInfo *, __p0, a0, \
139 WORD , __p1, d0, \
140 WORD , __p2, d1, \
141 WORD , __p3, d2, \
142 WORD , __p4, d3, \
143 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
145 #define MUI_GetClass(__p0) \
146 LP1(78, struct IClass *, MUI_GetClass, \
147 const char *, __p0, a0, \
148 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
150 #define MUI_RejectIDCMP(__p0, __p1) \
151 LP2NR(96, MUI_RejectIDCMP, \
152 Object *, __p0, a0, \
153 ULONG , __p1, d0, \
154 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
156 #define MUI_FreeAslRequest(__p0) \
157 LP1NR(60, MUI_FreeAslRequest, \
158 APTR , __p0, a0, \
159 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
161 #define MUI_MakeObjectA(__p0, __p1) \
162 LP2(120, Object *, MUI_MakeObjectA, \
163 LONG , __p0, d0, \
164 ULONG *, __p1, a0, \
165 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
167 #define MUI_DeleteCustomClass(__p0) \
168 LP1(114, BOOL , MUI_DeleteCustomClass, \
169 struct MUI_CustomClass *, __p0, a0, \
170 , MUIMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0)
172 #ifdef USE_INLINE_STDARG
174 #include <stdarg.h>
176 #define MUI_AslRequestTags(__p0, ...) \
177 ({ULONG _tags[] = { __VA_ARGS__ }; \
178 MUI_AslRequest(__p0, (struct TagItem *)_tags);})
180 #define MUI_AllocAslRequestTags(__p0, ...) \
181 ({ULONG _tags[] = { __VA_ARGS__ }; \
182 MUI_AllocAslRequest(__p0, (struct TagItem *)_tags);})
184 #define MUI_MakeObject(__p0, ...) \
185 ({ULONG _tags[] = { __VA_ARGS__ }; \
186 MUI_MakeObjectA(__p0, (ULONG *)_tags);})
188 #define MUI_NewObject(__p0, ...) \
189 ({ULONG _tags[] = { __VA_ARGS__ }; \
190 MUI_NewObjectA(__p0, (struct TagItem *)_tags);})
192 #define MUI_Request(__p0, __p1, __p2, __p3, __p4, __p5, ...) \
193 ({ULONG _tags[] = { __VA_ARGS__ }; \
194 MUI_RequestA(__p0, __p1, __p2, __p3, __p4, __p5, (APTR )_tags);})
196 #endif
198 #endif /* !_PPCINLINE_MUIMASTER_H */