1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_BULLET_H 4 #define _PPCINLINE_BULLET_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef BULLET_BASE_NAME 11 #define BULLET_BASE_NAME BulletBase 12 #endif /* !BULLET_BASE_NAME */ 13 14 #define OpenEngine() \ 15 LP0(30, struct GlyphEngine *, OpenEngine, \ 16 , BULLET_BASE_NAME, 0, 0, 0, 0, 0, 0) 17 18 #define ObtainInfoA(__p0, __p1) \ 19 LP2(48, ULONG , ObtainInfoA, \ 20 struct GlyphEngine *, __p0, a0, \ 21 struct TagItem *, __p1, a1, \ 22 , BULLET_BASE_NAME, 0, 0, 0, 0, 0, 0) 23 24 #define CloseEngine(__p0) \ 25 LP1NR(36, CloseEngine, \ 26 struct GlyphEngine *, __p0, a0, \ 27 , BULLET_BASE_NAME, 0, 0, 0, 0, 0, 0) 28 29 #define ReleaseInfoA(__p0, __p1) \ 30 LP2(54, ULONG , ReleaseInfoA, \ 31 struct GlyphEngine *, __p0, a0, \ 32 struct TagItem *, __p1, a1, \ 33 , BULLET_BASE_NAME, 0, 0, 0, 0, 0, 0) 34 35 #define SetInfoA(__p0, __p1) \ 36 LP2(42, ULONG , SetInfoA, \ 37 struct GlyphEngine *, __p0, a0, \ 38 struct TagItem *, __p1, a1, \ 39 , BULLET_BASE_NAME, 0, 0, 0, 0, 0, 0) 40 41 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 42 43 #include <stdarg.h> 44 45 #define ObtainInfo(__p0, ...) \ 46 ({ULONG _tags[] = { __VA_ARGS__ }; \ 47 ObtainInfoA(__p0, (struct TagItem *)_tags);}) 48 49 #define ReleaseInfo(__p0, ...) \ 50 ({ULONG _tags[] = { __VA_ARGS__ }; \ 51 ReleaseInfoA(__p0, (struct TagItem *)_tags);}) 52 53 #define SetInfo(__p0, ...) \ 54 ({ULONG _tags[] = { __VA_ARGS__ }; \ 55 SetInfoA(__p0, (struct TagItem *)_tags);}) 56 57 #endif 58 59 #endif /* !_PPCINLINE_BULLET_H */