1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_MAGICBEACON_H 4 #define _PPCINLINE_MAGICBEACON_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef MAGICBEACON_BASE_NAME 11 #define MAGICBEACON_BASE_NAME MagicBeaconBase 12 #endif /* !MAGICBEACON_BASE_NAME */ 13 14 #define MagicBeacon_ApplicationRegisterTagList(__p0) \ 15 (((APTR (*)(void *, struct TagItem *))*(void**)((long)(MAGICBEACON_BASE_NAME) - 28))((void*)(MAGICBEACON_BASE_NAME), __p0)) 16 17 #define MagicBeacon_ApplicationUnregister(__p0) \ 18 (((void (*)(void *, APTR ))*(void**)((long)(MAGICBEACON_BASE_NAME) - 34))((void*)(MAGICBEACON_BASE_NAME), __p0)) 19 20 #define MagicBeacon_GetAttrsTagList(__p0, __p1, __p2) \ 21 (((IPTR (*)(void *, APTR , APTR , struct TagItem *))*(void**)((long)(MAGICBEACON_BASE_NAME) - 40))((void*)(MAGICBEACON_BASE_NAME), __p0, __p1, __p2)) 22 23 #define MagicBeacon_GetAttr(__p0, __p1, __p2) \ 24 (((IPTR (*)(void *, APTR , APTR , IPTR ))*(void**)((long)(MAGICBEACON_BASE_NAME) - 46))((void*)(MAGICBEACON_BASE_NAME), __p0, __p1, __p2)) 25 26 #define MagicBeacon_BeaconSendTagList(__p0, __p1) \ 27 (((IPTR (*)(void *, APTR , struct TagItem *))*(void**)((long)(MAGICBEACON_BASE_NAME) - 52))((void*)(MAGICBEACON_BASE_NAME), __p0, __p1)) 28 29 #define MagicBeacon_BeaconObtain(__p0) \ 30 (((APTR (*)(void *, APTR ))*(void**)((long)(MAGICBEACON_BASE_NAME) - 58))((void*)(MAGICBEACON_BASE_NAME), __p0)) 31 32 #define MagicBeacon_BeaconDispose(__p0, __p1) \ 33 (((void (*)(void *, APTR , APTR ))*(void**)((long)(MAGICBEACON_BASE_NAME) - 64))((void*)(MAGICBEACON_BASE_NAME), __p0, __p1)) 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 55 56 #include <stdarg.h> 57 58 #define MagicBeacon_ApplicationRegisterTags(...) \ 59 ({ULONG _tags[] = { __VA_ARGS__ }; \ 60 MagicBeacon_ApplicationRegisterTagList((struct TagItem *)_tags);}) 61 62 #define MagicBeacon_GetAttrsTags(__p0, __p1, ...) \ 63 ({ULONG _tags[] = { __VA_ARGS__ }; \ 64 MagicBeacon_GetAttrsTagList(__p0, __p1, (struct TagItem *)_tags);}) 65 66 #define MagicBeacon_BeaconSendTags(__p0, ...) \ 67 ({ULONG _tags[] = { __VA_ARGS__ }; \ 68 MagicBeacon_BeaconSendTagList(__p0, (struct TagItem *)_tags);}) 69 70 #endif 71 72 #endif /* !_PPCINLINE_MAGICBEACON_H */