1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_LIBRETTO_H
    4 #define _PPCINLINE_LIBRETTO_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef LIBRETTO_BASE_NAME
   11 #define LIBRETTO_BASE_NAME LibrettoBase
   12 #endif /* !LIBRETTO_BASE_NAME */
   13 
   14 #define NewGlyphRunA(__p0, __p1, __p2) \
   15 	(((Object *(*)(void *, APTR , LONG , struct TagItem *))*(void**)((long)(LIBRETTO_BASE_NAME) - 28))((void*)(LIBRETTO_BASE_NAME), __p0, __p1, __p2))
   16 
   17 #define NewDrawTargetA(__p0, __p1, __p2) \
   18 	(((Object *(*)(void *, APTR , LONG , struct TagItem *))*(void**)((long)(LIBRETTO_BASE_NAME) - 34))((void*)(LIBRETTO_BASE_NAME), __p0, __p1, __p2))
   19 
   20 #define DrawGlyphRun(__p0, __p1, __p2, __p3) \
   21 	(((VOID (*)(void *, Object *, Object *, LONG , LONG ))*(void**)((long)(LIBRETTO_BASE_NAME) - 40))((void*)(LIBRETTO_BASE_NAME), __p0, __p1, __p2, __p3))
   22 
   23 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
   24 
   25 #include <stdarg.h>
   26 
   27 #define NewDrawTarget(__p0, __p1, ...) \
   28 	({ULONG _tags[] = { __VA_ARGS__ }; \
   29 	NewDrawTargetA(__p0, __p1, (struct TagItem *)_tags);})
   30 
   31 #define NewGlyphRun(__p0, __p1, ...) \
   32 	({ULONG _tags[] = { __VA_ARGS__ }; \
   33 	NewGlyphRunA(__p0, __p1, (struct TagItem *)_tags);})
   34 
   35 #endif
   36 
   37 #endif /* !_PPCINLINE_LIBRETTO_H */