revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / reqtools / amigaincludesforgcc / inline / reqtools.h
blob3a17f1a916fef28fb4378e48553cfb58284c7be1
1 /* Automatically generated header! Do not edit! */
3 #ifndef _INLINE_REQTOOLS_H
4 #define _INLINE_REQTOOLS_H
6 #ifndef __INLINE_MACROS_H
7 #include <inline/macros.h>
8 #endif /* !__INLINE_MACROS_H */
10 #ifndef REQTOOLS_BASE_NAME
11 #define REQTOOLS_BASE_NAME ReqToolsBase
12 #endif /* !REQTOOLS_BASE_NAME */
14 #define rtAllocRequestA(type, taglist) \
15 LP2(0x1e, APTR, rtAllocRequestA, ULONG, type, d0, struct TagItem *, taglist, a0, \
16 , REQTOOLS_BASE_NAME)
18 #ifndef NO_INLINE_STDARG
19 #define rtAllocRequest(a0, tags...) \
20 ({ULONG _tags[] = { tags }; rtAllocRequestA((a0), (struct TagItem *)_tags);})
21 #endif /* !NO_INLINE_STDARG */
23 #define rtChangeReqAttrA(req, taglist) \
24 LP2(0x30, LONG, rtChangeReqAttrA, APTR, req, a1, struct TagItem *, taglist, a0, \
25 , REQTOOLS_BASE_NAME)
27 #ifndef NO_INLINE_STDARG
28 #define rtChangeReqAttr(a0, tags...) \
29 ({ULONG _tags[] = { tags }; rtChangeReqAttrA((a0), (struct TagItem *)_tags);})
30 #endif /* !NO_INLINE_STDARG */
32 #define rtCloseWindowSafely(win) \
33 LP1NR(0x96, rtCloseWindowSafely, struct Window *, win, a0, \
34 , REQTOOLS_BASE_NAME)
36 #define rtEZRequestA(bodyfmt, gadfmt, reqinfo, argarray, taglist) \
37 LP5A4(0x42, ULONG, rtEZRequestA, char *, bodyfmt, a1, char *, gadfmt, a2, struct rtReqInfo *, reqinfo, a3, APTR, argarray, d7, struct TagItem *, taglist, a0, \
38 , REQTOOLS_BASE_NAME)
40 #ifndef NO_INLINE_STDARG
41 #define rtEZRequest(a0, a1, a2, a3, args...) \
42 ({ULONG _args[] = { args }; rtEZRequestA((a0), (a1), (a2), (APTR)_args, (a3));}) /*CHECKME!!!! */
43 #endif /* !NO_INLINE_STDARG */
45 #ifndef NO_INLINE_STDARG
46 #define rtEZRequestTags(a0, a1, a2, a3, tags...) \
47 ({ULONG _tags[] = { tags }; rtEZRequestA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);}) /* CHECKME */
48 #endif /* !NO_INLINE_STDARG */
50 #define rtFileRequestA(filereq, file, title, taglist) \
51 LP4(0x36, APTR, rtFileRequestA, struct rtFileRequester *, filereq, a1, char *, file, a2, char *, title, a3, struct TagItem *, taglist, a0, \
52 , REQTOOLS_BASE_NAME)
54 #ifndef NO_INLINE_STDARG
55 #define rtFileRequest(a0, a1, a2, tags...) \
56 ({ULONG _tags[] = { tags }; rtFileRequestA((a0), (a1), (a2), (struct TagItem *)_tags);})
57 #endif /* !NO_INLINE_STDARG */
59 #define rtFontRequestA(fontreq, title, taglist) \
60 LP3(0x60, ULONG, rtFontRequestA, struct rtFontRequester *, fontreq, a1, char *, title, a3, struct TagItem *, taglist, a0, \
61 , REQTOOLS_BASE_NAME)
63 #ifndef NO_INLINE_STDARG
64 #define rtFontRequest(a0, a1, tags...) \
65 ({ULONG _tags[] = { tags }; rtFontRequestA((a0), (a1), (struct TagItem *)_tags);})
66 #endif /* !NO_INLINE_STDARG */
68 #define rtFreeFileList(filelist) \
69 LP1NR(0x3c, rtFreeFileList, struct rtFileList *, filelist, a0, \
70 , REQTOOLS_BASE_NAME)
72 #define rtFreeReqBuffer(req) \
73 LP1NR(0x2a, rtFreeReqBuffer, APTR, req, a1, \
74 , REQTOOLS_BASE_NAME)
76 #define rtFreeRequest(req) \
77 LP1NR(0x24, rtFreeRequest, APTR, req, a1, \
78 , REQTOOLS_BASE_NAME)
80 #define rtGetLongA(longptr, title, reqinfo, taglist) \
81 LP4(0x4e, ULONG, rtGetLongA, ULONG *, longptr, a1, char *, title, a2, struct rtReqInfo *, reqinfo, a3, struct TagItem *, taglist, a0, \
82 , REQTOOLS_BASE_NAME)
84 #ifndef NO_INLINE_STDARG
85 #define rtGetLong(a0, a1, a2, tags...) \
86 ({ULONG _tags[] = { tags }; rtGetLongA((a0), (a1), (a2), (struct TagItem *)_tags);})
87 #endif /* !NO_INLINE_STDARG */
89 #define rtGetStringA(buffer, maxchars, title, reqinfo, taglist) \
90 LP5(0x48, ULONG, rtGetStringA, UBYTE *, buffer, a1, ULONG, maxchars, d0, char *, title, a2, struct rtReqInfo *, reqinfo, a3, struct TagItem *, taglist, a0, \
91 , REQTOOLS_BASE_NAME)
93 #ifndef NO_INLINE_STDARG
94 #define rtGetString(a0, a1, a2, a3, tags...) \
95 ({ULONG _tags[] = { tags }; rtGetStringA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);})
96 #endif /* !NO_INLINE_STDARG */
98 #define rtGetVScreenSize(screen, widthptr, heightptr) \
99 LP3(0x78, ULONG, rtGetVScreenSize, struct Screen *, screen, a0, ULONG *, widthptr, a1, ULONG *, heightptr, a2, \
100 , REQTOOLS_BASE_NAME)
102 #define rtLockPrefs() \
103 LP0(0xa8, struct ReqToolsPrefs *, rtLockPrefs, \
104 , REQTOOLS_BASE_NAME)
106 #define rtLockWindow(win) \
107 LP1(0x9c, APTR, rtLockWindow, struct Window *, win, a0, \
108 , REQTOOLS_BASE_NAME)
110 #define rtPaletteRequestA(title, reqinfo, taglist) \
111 LP3(0x66, LONG, rtPaletteRequestA, char *, title, a2, struct rtReqInfo *, reqinfo, a3, struct TagItem *, taglist, a0, \
112 , REQTOOLS_BASE_NAME)
114 #ifndef NO_INLINE_STDARG
115 #define rtPaletteRequest(a0, a1, tags...) \
116 ({ULONG _tags[] = { tags }; rtPaletteRequestA((a0), (a1), (struct TagItem *)_tags);})
117 #endif /* !NO_INLINE_STDARG */
119 #define rtReqHandlerA(handlerinfo, sigs, taglist) \
120 LP3(0x6c, IPTR, rtReqHandlerA, struct rtHandlerInfo *, handlerinfo, a1, ULONG, sigs, d0, struct TagItem *, taglist, a0, \
121 , REQTOOLS_BASE_NAME)
123 #ifndef NO_INLINE_STDARG
124 #define rtReqHandler(a0, a1, tags...) \
125 ({ULONG _tags[] = { tags }; rtReqHandlerA((a0), (a1), (struct TagItem *)_tags);})
126 #endif /* !NO_INLINE_STDARG */
128 #define rtScreenModeRequestA(screenmodereq, title, taglist) \
129 LP3(0x90, ULONG, rtScreenModeRequestA, struct rtScreenModeRequester *, screenmodereq, a1, char *, title, a3, struct TagItem *, taglist, a0, \
130 , REQTOOLS_BASE_NAME)
132 #ifndef NO_INLINE_STDARG
133 #define rtScreenModeRequest(a0, a1, tags...) \
134 ({ULONG _tags[] = { tags }; rtScreenModeRequestA((a0), (a1), (struct TagItem *)_tags);})
135 #endif /* !NO_INLINE_STDARG */
137 #define rtScreenToFrontSafely(screen) \
138 LP1NR(0x8a, rtScreenToFrontSafely, struct Screen *, screen, a0, \
139 , REQTOOLS_BASE_NAME)
141 #define rtSetReqPosition(reqpos, newwindow, screen, window) \
142 LP4NR(0x7e, rtSetReqPosition, ULONG, reqpos, d0, struct NewWindow *, newwindow, a0, struct Screen *, screen, a1, struct Window *, window, a2, \
143 , REQTOOLS_BASE_NAME)
145 #define rtSetWaitPointer(window) \
146 LP1NR(0x72, rtSetWaitPointer, struct Window *, window, a0, \
147 , REQTOOLS_BASE_NAME)
149 #define rtSpread(posarray, sizearray, length, min, max, num) \
150 LP6NR(0x84, rtSpread, ULONG *, posarray, a0, ULONG *, sizearray, a1, ULONG, length, d0, ULONG, min, d1, ULONG, max, d2, ULONG, num, d3, \
151 , REQTOOLS_BASE_NAME)
153 #define rtUnlockPrefs() \
154 LP0NR(0xae, rtUnlockPrefs, \
155 , REQTOOLS_BASE_NAME)
157 #define rtUnlockWindow(win, winlock) \
158 LP2NR(0xa2, rtUnlockWindow, struct Window *, win, a0, APTR, winlock, a1, \
159 , REQTOOLS_BASE_NAME)
161 #endif /* !_INLINE_REQTOOLS_H */