2 #define AROS_PP_VARIADIC_CAST2IPTR(x) x
5 LONG
requestArgs(UBYTE
*title
, UBYTE
*fmt
, UBYTE
*gads
, APTR params
);
6 LONG
reqArgs(UBYTE
*fmt
, UBYTE
*gads
, APTR params
);
7 LONG
req_unusualArgs(UBYTE
*fmt
, APTR params
);
8 void dreqArgs(UBYTE
*fmt
, APTR params
);
10 #define request(title, fmt, gads, ...) \
12 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
13 requestArgs(title, fmt, gads, __args); \
16 #define req(fmt, gads, ...) \
18 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
19 reqArgs(fmt, gads, __args); \
22 #define req_unusual(fmt, ...) \
24 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
25 req_unusualArgs(fmt, __args); \
28 #define dreq(fmt, ...) \
30 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
31 dreqArgs(fmt, __args); \