1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_BUGREPORT_H 4 #define _PPCINLINE_BUGREPORT_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef BUGREPORT_BASE_NAME 11 #define BUGREPORT_BASE_NAME BugReportBase 12 #endif /* !BUGREPORT_BASE_NAME */ 13 14 #define SendBug(__p0, __p1) \ 15 (((void (*)(void *, STRPTR , struct TagItem *))*(void**)((long)(BUGREPORT_BASE_NAME) - 28))((void*)(BUGREPORT_BASE_NAME), __p0, __p1)) 16 17 #define BPutStr(__p0) \ 18 (((void (*)(void *, STRPTR ))*(void**)((long)(BUGREPORT_BASE_NAME) - 40))((void*)(BUGREPORT_BASE_NAME), __p0)) 19 20 #if !defined(__STRICT_ANSI__) 21 #define BPrintf(__p0, ...) \ 22 (((void (*)(void *, STRPTR , ...))*(void**)((long)(BUGREPORT_BASE_NAME) - 34))((void*)(BUGREPORT_BASE_NAME), __p0, __VA_ARGS__)) 23 #endif 24 25 #define ClearBug() \ 26 (((void (*)(void *))*(void**)((long)(BUGREPORT_BASE_NAME) - 46))((void*)(BUGREPORT_BASE_NAME))) 27 28 #ifdef USE_INLINE_STDARG 29 30 #include <stdarg.h> 31 32 #define SendBugTags(__p0, ...) \ 33 ({ULONG _tags[] = { __VA_ARGS__ }; \ 34 SendBug(__p0, (struct TagItem *)_tags);}) 35 36 #endif 37 38 #endif /* !_PPCINLINE_BUGREPORT_H */