1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_EXTRAS_H 4 #define _PPCINLINE_EXTRAS_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef EXTRAS_BASE_NAME 11 #define EXTRAS_BASE_NAME ExtrasBase 12 #endif /* !EXTRAS_BASE_NAME */ 13 14 #define LoadImageToArrayA(__p0, __p1) \ 15 (((APTR (*)(void *, CONST_STRPTR , struct TagItem *))*(void**)((long)(EXTRAS_BASE_NAME) - 40))((void*)(EXTRAS_BASE_NAME), __p0, __p1)) 16 17 #define LoadImageToBitMapA(__p0, __p1) \ 18 (((struct BitMap *(*)(void *, CONST_STRPTR , struct TagItem *))*(void**)((long)(EXTRAS_BASE_NAME) - 28))((void*)(EXTRAS_BASE_NAME), __p0, __p1)) 19 20 #define LoadFileA(__p0, __p1) \ 21 (((APTR (*)(void *, CONST_STRPTR , struct TagItem *))*(void**)((long)(EXTRAS_BASE_NAME) - 34))((void*)(EXTRAS_BASE_NAME), __p0, __p1)) 22 23 #ifdef USE_INLINE_STDARG 24 25 #include <stdarg.h> 26 27 #define LoadImageToArray(__p0, ...) \ 28 ({ULONG _tags[] = { __VA_ARGS__ }; \ 29 LoadImageToArrayA(__p0, (struct TagItem *)_tags);}) 30 31 #define LoadImageToBitMap(__p0, ...) \ 32 ({ULONG _tags[] = { __VA_ARGS__ }; \ 33 LoadImageToBitMapA(__p0, (struct TagItem *)_tags);}) 34 35 #define LoadFile(__p0, ...) \ 36 ({ULONG _tags[] = { __VA_ARGS__ }; \ 37 LoadFileA(__p0, (struct TagItem *)_tags);}) 38 39 #endif 40 41 #endif /* !_PPCINLINE_EXTRAS_H */