1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_LAYOUT_H
    4 #define _PPCINLINE_LAYOUT_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef LAYOUT_BASE_NAME
   11 #define LAYOUT_BASE_NAME LayoutBase
   12 #endif /* !LAYOUT_BASE_NAME */
   13 
   14 #define SetPageGadgetAttrsA(__p0, __p1, __p2, __p3, __p4) \
   15 	LP5(66, ULONG , SetPageGadgetAttrsA, \
   16 		struct Gadget *, __p0, a0, \
   17 		Object *, __p1, a1, \
   18 		struct Window *, __p2, a2, \
   19 		struct Requester *, __p3, a3, \
   20 		struct TagItem *, __p4, a4, \
   21 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   22 
   23 #define PAGE_GetClass() \
   24 	LP0(60, Class *, PAGE_GetClass, \
   25 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   26 
   27 #define RethinkLayout(__p0, __p1, __p2, __p3) \
   28 	LP4(48, BOOL , RethinkLayout, \
   29 		struct Gadget *, __p0, a0, \
   30 		struct Window *, __p1, a1, \
   31 		struct Requester *, __p2, a2, \
   32 		LONG , __p3, d0, \
   33 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   34 
   35 #define ActivateLayoutGadget(__p0, __p1, __p2, __p3) \
   36 	LP4(36, BOOL , ActivateLayoutGadget, \
   37 		struct Gadget *, __p0, a0, \
   38 		struct Window *, __p1, a1, \
   39 		struct Requester *, __p2, a2, \
   40 		ULONG , __p3, d0, \
   41 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   42 
   43 #define LayoutLimits(__p0, __p1, __p2, __p3) \
   44 	LP4NR(54, LayoutLimits, \
   45 		struct Gadget *, __p0, a0, \
   46 		struct LayoutLimits *, __p1, a1, \
   47 		struct TextFont *, __p2, a2, \
   48 		struct Screen *, __p3, a3, \
   49 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   50 
   51 #define LAYOUT_GetClass() \
   52 	LP0(30, Class *, LAYOUT_GetClass, \
   53 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   54 
   55 #define FlushLayoutDomainCache(__p0) \
   56 	LP1NR(42, FlushLayoutDomainCache, \
   57 		struct Gadget *, __p0, a0, \
   58 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   59 
   60 #define RefreshPageGadget(__p0, __p1, __p2, __p3) \
   61 	LP4NR(72, RefreshPageGadget, \
   62 		struct Gadget *, __p0, a0, \
   63 		Object *, __p1, a1, \
   64 		struct Window *, __p2, a2, \
   65 		struct Requester *, __p3, a3, \
   66 		, LAYOUT_BASE_NAME, 0, 0, 0, 0, 0, 0)
   67 
   68 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
   69 
   70 #include <stdarg.h>
   71 
   72 #define SetPageGadgetAttrs(__p0, __p1, __p2, __p3, ...) \
   73 	({ULONG _tags[] = { __VA_ARGS__ }; \
   74 	SetPageGadgetAttrsA(__p0, __p1, __p2, __p3, (struct TagItem *)_tags);})
   75 
   76 #endif
   77 
   78 #endif /* !_PPCINLINE_LAYOUT_H */