1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_DISKFONT_H
    4 #define _PPCINLINE_DISKFONT_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef DISKFONT_BASE_NAME
   11 #define DISKFONT_BASE_NAME DiskfontBase
   12 #endif /* !DISKFONT_BASE_NAME */
   13 
   14 #define OpenDiskFont(__p0) \
   15 	LP1(30, struct TextFont *, OpenDiskFont, \
   16 		struct TextAttr *, __p0, a0, \
   17 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   18 
   19 #define AvailFonts(__p0, __p1, __p2) \
   20 	LP3(36, LONG , AvailFonts, \
   21 		STRPTR , __p0, a0, \
   22 		LONG , __p1, d0, \
   23 		LONG , __p2, d1, \
   24 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   25 
   26 #define SetDiskFontCtrlA(__p0) \
   27 	LP1NR(66, SetDiskFontCtrlA, \
   28 		struct TagItem *, __p0, a0, \
   29 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   30 
   31 #define NewFontContents(__p0, __p1) \
   32 	LP2(42, struct FontContentsHeader *, NewFontContents, \
   33 		BPTR , __p0, a0, \
   34 		STRPTR , __p1, a1, \
   35 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   36 
   37 #define GetDiskFontCtrl(__p0) \
   38 	LP1(60, LONG , GetDiskFontCtrl, \
   39 		LONG , __p0, d0, \
   40 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   41 
   42 #define NewScaledDiskFont(__p0, __p1) \
   43 	LP2(54, struct DiskFont *, NewScaledDiskFont, \
   44 		struct TextFont *, __p0, a0, \
   45 		struct TextAttr *, __p1, a1, \
   46 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   47 
   48 #define DisposeFontContents(__p0) \
   49 	LP1NR(48, DisposeFontContents, \
   50 		struct FontContentsHeader *, __p0, a1, \
   51 		, DISKFONT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   52 
   53 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
   54 
   55 #include <stdarg.h>
   56 
   57 #define SetDiskFontCtrl(...) \
   58 	({ULONG _tags[] = { __VA_ARGS__ }; \
   59 	SetDiskFontCtrlA((struct TagItem *)_tags);})
   60 
   61 #endif
   62 
   63 #endif /* !_PPCINLINE_DISKFONT_H */