/* Automatically generated header (sfdc 1.11f)! Do not edit! */ #ifndef _INLINE_DATATYPES_H #define _INLINE_DATATYPES_H #ifndef _SFDC_VARARG_DEFINED #define _SFDC_VARARG_DEFINED #ifdef __HAVE_IPTR_ATTR__ typedef APTR _sfdc_vararg __attribute__((iptr)); #else typedef ULONG _sfdc_vararg; #endif /* __HAVE_IPTR_ATTR__ */ #endif /* _SFDC_VARARG_DEFINED */ #ifndef __INLINE_MACROS_H #include #endif /* !__INLINE_MACROS_H */ #ifndef DATATYPES_BASE_NAME #define DATATYPES_BASE_NAME DataTypesBase #endif /* !DATATYPES_BASE_NAME */ #define ObtainDataTypeA(___type, ___handle, ___attrs) \ LP3(0x24, struct DataType *, ObtainDataTypeA , ULONG, ___type, d0, APTR, ___handle, a0, struct TagItem *, ___attrs, a1,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define ObtainDataType(___type, ___handle, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; ObtainDataTypeA((___type), (___handle), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define ReleaseDataType(___dt) \ LP1NR(0x2a, ReleaseDataType , struct DataType *, ___dt, a0,\ , DATATYPES_BASE_NAME) #define NewDTObjectA(___name, ___attrs) \ LP2(0x30, Object *, NewDTObjectA , APTR, ___name, d0, struct TagItem *, ___attrs, a0,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define NewDTObject(___name, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; NewDTObjectA((___name), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define DisposeDTObject(___o) \ LP1NR(0x36, DisposeDTObject , Object *, ___o, a0,\ , DATATYPES_BASE_NAME) #define SetDTAttrsA(___o, ___win, ___req, ___attrs) \ LP4(0x3c, ULONG, SetDTAttrsA , Object *, ___o, a0, struct Window *, ___win, a1, struct Requester *, ___req, a2, struct TagItem *, ___attrs, a3,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define SetDTAttrs(___o, ___win, ___req, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; SetDTAttrsA((___o), (___win), (___req), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define GetDTAttrsA(___o, ___attrs) \ LP2(0x42, ULONG, GetDTAttrsA , Object *, ___o, a0, struct TagItem *, ___attrs, a2,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define GetDTAttrs(___o, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; GetDTAttrsA((___o), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define AddDTObject(___win, ___req, ___o, ___pos) \ LP4(0x48, LONG, AddDTObject , struct Window *, ___win, a0, struct Requester *, ___req, a1, Object *, ___o, a2, LONG, ___pos, d0,\ , DATATYPES_BASE_NAME) #define RefreshDTObjectA(___o, ___win, ___req, ___attrs) \ LP4NR(0x4e, RefreshDTObjectA , Object *, ___o, a0, struct Window *, ___win, a1, struct Requester *, ___req, a2, struct TagItem *, ___attrs, a3,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define RefreshDTObjects(___o, ___win, ___req, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; RefreshDTObjectA((___o), (___win), (___req), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #ifndef NO_INLINE_STDARG #define RefreshDTObject(___o, ___win, ___req, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; RefreshDTObjectA((___o), (___win), (___req), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define DoAsyncLayout(___o, ___gpl) \ LP2(0x54, ULONG, DoAsyncLayout , Object *, ___o, a0, struct gpLayout *, ___gpl, a1,\ , DATATYPES_BASE_NAME) #define DoDTMethodA(___o, ___win, ___req, ___msg) \ LP4(0x5a, ULONG, DoDTMethodA , Object *, ___o, a0, struct Window *, ___win, a1, struct Requester *, ___req, a2, Msg, ___msg, a3,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_VARARGS #define DoDTMethod(___o, ___win, ___req, ___msg, ...) \ ({_sfdc_vararg _message[] = { ___msg, __VA_ARGS__ }; DoDTMethodA((___o), (___win), (___req), (Msg) _message); }) #endif /* !NO_INLINE_VARARGS */ #define RemoveDTObject(___win, ___o) \ LP2(0x60, LONG, RemoveDTObject , struct Window *, ___win, a0, Object *, ___o, a1,\ , DATATYPES_BASE_NAME) #define GetDTMethods(___object) \ LP1(0x66, ULONG *, GetDTMethods , Object *, ___object, a0,\ , DATATYPES_BASE_NAME) #define GetDTTriggerMethods(___object) \ LP1(0x6c, struct DTMethods *, GetDTTriggerMethods , Object *, ___object, a0,\ , DATATYPES_BASE_NAME) #define PrintDTObjectA(___o, ___w, ___r, ___msg) \ LP4(0x72, ULONG, PrintDTObjectA , Object *, ___o, a0, struct Window *, ___w, a1, struct Requester *, ___r, a2, struct dtPrint *, ___msg, a3,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_VARARGS #define PrintDTObject(___o, ___w, ___r, ___msg, ...) \ ({_sfdc_vararg _message[] = { ___msg, __VA_ARGS__ }; PrintDTObjectA((___o), (___w), (___r), (struct dtPrint *) _message); }) #endif /* !NO_INLINE_VARARGS */ #define ObtainDTDrawInfoA(___o, ___attrs) \ LP2(0x78, APTR, ObtainDTDrawInfoA , Object *, ___o, a0, struct TagItem *, ___attrs, a1,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define ObtainDTDrawInfo(___o, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; ObtainDTDrawInfoA((___o), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define DrawDTObjectA(___rp, ___o, ___x, ___y, ___w, ___h, ___th, ___tv, ___attrs) \ LP9(0x7e, LONG, DrawDTObjectA , struct RastPort *, ___rp, a0, Object *, ___o, a1, LONG, ___x, d0, LONG, ___y, d1, LONG, ___w, d2, LONG, ___h, d3, LONG, ___th, d4, LONG, ___tv, d5, struct TagItem *, ___attrs, a2,\ , DATATYPES_BASE_NAME) #ifndef NO_INLINE_STDARG #define DrawDTObject(___rp, ___o, ___x, ___y, ___w, ___h, ___th, ___tv, ___attrs, ...) \ ({_sfdc_vararg _tags[] = { ___attrs, __VA_ARGS__ }; DrawDTObjectA((___rp), (___o), (___x), (___y), (___w), (___h), (___th), (___tv), (struct TagItem *) _tags); }) #endif /* !NO_INLINE_STDARG */ #define ReleaseDTDrawInfo(___o, ___handle) \ LP2NR(0x84, ReleaseDTDrawInfo , Object *, ___o, a0, APTR, ___handle, a1,\ , DATATYPES_BASE_NAME) #define GetDTString(___id) \ LP1(0x8a, STRPTR, GetDTString , ULONG, ___id, d0,\ , DATATYPES_BASE_NAME) #endif /* !_INLINE_DATATYPES_H */