#ifndef INLINE_GUIGFX_H
#define INLINE_GUIGFX_H

/*
    *** Automatically generated from '/home/aros/ABIv0/Build/20110803/AROS/contrib/gfx/libs/guigfxlib/src/guigfx.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Inline function for guigfx
*/

#include <aros/libcall.h>
#include <exec/types.h>
#include <aros/preprocessor/variadic/cast2iptr.hpp>


static inline APTR __inline_GuiGFX_MakePictureA(APTR __arg1, UWORD __arg2, UWORD __arg3, struct TagItem * __arg4, APTR __GuiGFXBase)
{
    return AROS_LC4(APTR, MakePictureA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(UWORD,(__arg2),D0),
        AROS_LCA(UWORD,(__arg3),D1),
        AROS_LCA(struct TagItem *,(__arg4),A1),
        struct Library *, (__GuiGFXBase), 5, GuiGFX    );
}

#define MakePictureA(arg1, arg2, arg3, arg4) \
    __inline_GuiGFX_MakePictureA((arg1), (arg2), (arg3), (arg4), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define MakePicture(arg1, arg2, arg3, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    MakePictureA((arg1), (arg2), (arg3), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline APTR __inline_GuiGFX_LoadPictureA(STRPTR __arg1, struct TagItem * __arg2, APTR __GuiGFXBase)
{
    return AROS_LC2(APTR, LoadPictureA,
        AROS_LCA(STRPTR,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__GuiGFXBase), 6, GuiGFX    );
}

#define LoadPictureA(arg1, arg2) \
    __inline_GuiGFX_LoadPictureA((arg1), (arg2), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define LoadPicture(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LoadPictureA((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline APTR __inline_GuiGFX_ReadPictureA(struct RastPort * __arg1, struct ColorMap * __arg2, UWORD __arg3, UWORD __arg4, UWORD __arg5, UWORD __arg6, struct TagItem * __arg7, APTR __GuiGFXBase)
{
    return AROS_LC7(APTR, ReadPictureA,
        AROS_LCA(struct RastPort *,(__arg1),A0),
        AROS_LCA(struct ColorMap *,(__arg2),A1),
        AROS_LCA(UWORD,(__arg3),D0),
        AROS_LCA(UWORD,(__arg4),D1),
        AROS_LCA(UWORD,(__arg5),D2),
        AROS_LCA(UWORD,(__arg6),D3),
        AROS_LCA(struct TagItem *,(__arg7),A2),
        struct Library *, (__GuiGFXBase), 7, GuiGFX    );
}

#define ReadPictureA(arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
    __inline_GuiGFX_ReadPictureA((arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (arg7), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define ReadPicture(arg1, arg2, arg3, arg4, arg5, arg6, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    ReadPictureA((arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline APTR __inline_GuiGFX_ClonePictureA(APTR __arg1, struct TagItem * __arg2, APTR __GuiGFXBase)
{
    return AROS_LC2(APTR, ClonePictureA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__GuiGFXBase), 8, GuiGFX    );
}

#define ClonePictureA(arg1, arg2) \
    __inline_GuiGFX_ClonePictureA((arg1), (arg2), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define ClonePicture(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    ClonePictureA((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline void __inline_GuiGFX_DeletePicture(APTR __arg1, APTR __GuiGFXBase)
{
    AROS_LC1NR(void, DeletePicture,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 9, GuiGFX    );
}

#define DeletePicture(arg1) \
    __inline_GuiGFX_DeletePicture((arg1), (APTR)GuiGFXBase)

static inline BOOL __inline_GuiGFX_UpdatePicture(APTR __arg1, APTR __GuiGFXBase)
{
    return AROS_LC1(BOOL, UpdatePicture,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 10, GuiGFX    );
}

#define UpdatePicture(arg1) \
    __inline_GuiGFX_UpdatePicture((arg1), (APTR)GuiGFXBase)

static inline APTR __inline_GuiGFX_AddPictureA(APTR __arg1, APTR __arg2, struct TagItem * __arg3, APTR __GuiGFXBase)
{
    return AROS_LC3(APTR, AddPictureA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(APTR,(__arg2),A1),
        AROS_LCA(struct TagItem *,(__arg3),A2),
        struct Library *, (__GuiGFXBase), 11, GuiGFX    );
}

#define AddPictureA(arg1, arg2, arg3) \
    __inline_GuiGFX_AddPictureA((arg1), (arg2), (arg3), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define AddPicture(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    AddPictureA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline APTR __inline_GuiGFX_AddPaletteA(APTR __arg1, APTR __arg2, struct TagItem * __arg3, APTR __GuiGFXBase)
{
    return AROS_LC3(APTR, AddPaletteA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(APTR,(__arg2),A1),
        AROS_LCA(struct TagItem *,(__arg3),A2),
        struct Library *, (__GuiGFXBase), 12, GuiGFX    );
}

#define AddPaletteA(arg1, arg2, arg3) \
    __inline_GuiGFX_AddPaletteA((arg1), (arg2), (arg3), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define AddPalette(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    AddPaletteA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline APTR __inline_GuiGFX_AddPixelArrayA(APTR __arg1, APTR __arg2, UWORD __arg3, UWORD __arg4, struct TagItem * __arg5, APTR __GuiGFXBase)
{
    return AROS_LC5(APTR, AddPixelArrayA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(APTR,(__arg2),A1),
        AROS_LCA(UWORD,(__arg3),D0),
        AROS_LCA(UWORD,(__arg4),D1),
        AROS_LCA(struct TagItem *,(__arg5),A2),
        struct Library *, (__GuiGFXBase), 13, GuiGFX    );
}

#define AddPixelArrayA(arg1, arg2, arg3, arg4, arg5) \
    __inline_GuiGFX_AddPixelArrayA((arg1), (arg2), (arg3), (arg4), (arg5), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define AddPixelArray(arg1, arg2, arg3, arg4, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    AddPixelArrayA((arg1), (arg2), (arg3), (arg4), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline void __inline_GuiGFX_RemColorHandle(APTR __arg1, APTR __GuiGFXBase)
{
    AROS_LC1NR(void, RemColorHandle,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 14, GuiGFX    );
}

#define RemColorHandle(arg1) \
    __inline_GuiGFX_RemColorHandle((arg1), (APTR)GuiGFXBase)

static inline APTR __inline_GuiGFX_CreatePenShareMapA(struct TagItem * __arg1, APTR __GuiGFXBase)
{
    return AROS_LC1(APTR, CreatePenShareMapA,
        AROS_LCA(struct TagItem *,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 15, GuiGFX    );
}

#define CreatePenShareMapA(arg1) \
    __inline_GuiGFX_CreatePenShareMapA((arg1), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define CreatePenShareMap(...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    CreatePenShareMapA((struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline void __inline_GuiGFX_DeletePenShareMap(APTR __arg1, APTR __GuiGFXBase)
{
    AROS_LC1NR(void, DeletePenShareMap,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 16, GuiGFX    );
}

#define DeletePenShareMap(arg1) \
    __inline_GuiGFX_DeletePenShareMap((arg1), (APTR)GuiGFXBase)

static inline APTR __inline_GuiGFX_ObtainDrawHandleA(APTR __arg1, struct RastPort * __arg2, struct ColorMap * __arg3, struct TagItem * __arg4, APTR __GuiGFXBase)
{
    return AROS_LC4(APTR, ObtainDrawHandleA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(struct RastPort *,(__arg2),A1),
        AROS_LCA(struct ColorMap *,(__arg3),A2),
        AROS_LCA(struct TagItem *,(__arg4),A3),
        struct Library *, (__GuiGFXBase), 17, GuiGFX    );
}

#define ObtainDrawHandleA(arg1, arg2, arg3, arg4) \
    __inline_GuiGFX_ObtainDrawHandleA((arg1), (arg2), (arg3), (arg4), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define ObtainDrawHandle(arg1, arg2, arg3, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    ObtainDrawHandleA((arg1), (arg2), (arg3), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline void __inline_GuiGFX_ReleaseDrawHandle(APTR __arg1, APTR __GuiGFXBase)
{
    AROS_LC1NR(void, ReleaseDrawHandle,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 18, GuiGFX    );
}

#define ReleaseDrawHandle(arg1) \
    __inline_GuiGFX_ReleaseDrawHandle((arg1), (APTR)GuiGFXBase)

static inline BOOL __inline_GuiGFX_DrawPictureA(APTR __arg1, APTR __arg2, UWORD __arg3, UWORD __arg4, struct TagItem * __arg5, APTR __GuiGFXBase)
{
    return AROS_LC5(BOOL, DrawPictureA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(APTR,(__arg2),A1),
        AROS_LCA(UWORD,(__arg3),D0),
        AROS_LCA(UWORD,(__arg4),D1),
        AROS_LCA(struct TagItem *,(__arg5),A2),
        struct Library *, (__GuiGFXBase), 19, GuiGFX    );
}

#define DrawPictureA(arg1, arg2, arg3, arg4, arg5) \
    __inline_GuiGFX_DrawPictureA((arg1), (arg2), (arg3), (arg4), (arg5), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define DrawPicture(arg1, arg2, arg3, arg4, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    DrawPictureA((arg1), (arg2), (arg3), (arg4), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline BOOL __inline_GuiGFX_MapPaletteA(APTR __arg1, APTR __arg2, UBYTE * __arg3, struct TagItem * __arg4, APTR __GuiGFXBase)
{
    return AROS_LC4(BOOL, MapPaletteA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(APTR,(__arg2),A1),
        AROS_LCA(UBYTE *,(__arg3),A2),
        AROS_LCA(struct TagItem *,(__arg4),A3),
        struct Library *, (__GuiGFXBase), 20, GuiGFX    );
}

#define MapPaletteA(arg1, arg2, arg3, arg4) \
    __inline_GuiGFX_MapPaletteA((arg1), (arg2), (arg3), (arg4), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define MapPalette(arg1, arg2, arg3, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    MapPaletteA((arg1), (arg2), (arg3), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline LONG __inline_GuiGFX_MapPenA(APTR __arg1, ULONG __arg2, struct TagItem * __arg3, APTR __GuiGFXBase)
{
    return AROS_LC3(LONG, MapPenA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(ULONG,(__arg2),D0),
        AROS_LCA(struct TagItem *,(__arg3),A1),
        struct Library *, (__GuiGFXBase), 21, GuiGFX    );
}

#define MapPenA(arg1, arg2, arg3) \
    __inline_GuiGFX_MapPenA((arg1), (arg2), (arg3), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define MapPen(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    MapPenA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline struct BitMap * __inline_GuiGFX_CreatePictureBitMapA(APTR __arg1, APTR __arg2, struct TagItem * __arg3, APTR __GuiGFXBase)
{
    return AROS_LC3(struct BitMap *, CreatePictureBitMapA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(APTR,(__arg2),A1),
        AROS_LCA(struct TagItem *,(__arg3),A2),
        struct Library *, (__GuiGFXBase), 22, GuiGFX    );
}

#define CreatePictureBitMapA(arg1, arg2, arg3) \
    __inline_GuiGFX_CreatePictureBitMapA((arg1), (arg2), (arg3), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define CreatePictureBitMap(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    CreatePictureBitMapA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline ULONG __inline_GuiGFX_DoPictureMethodA(APTR __arg1, ULONG __arg2, ULONG * __arg3, APTR __GuiGFXBase)
{
    return AROS_LC3(ULONG, DoPictureMethodA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(ULONG,(__arg2),D0),
        AROS_LCA(ULONG *,(__arg3),A1),
        struct Library *, (__GuiGFXBase), 23, GuiGFX    );
}

#define DoPictureMethodA(arg1, arg2, arg3) \
    __inline_GuiGFX_DoPictureMethodA((arg1), (arg2), (arg3), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define DoPictureMethod(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    DoPictureMethodA((arg1), (arg2), (ULONG *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline ULONG __inline_GuiGFX_GetPictureAttrsA(APTR __arg1, struct TagItem * __arg2, APTR __GuiGFXBase)
{
    return AROS_LC2(ULONG, GetPictureAttrsA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__GuiGFXBase), 24, GuiGFX    );
}

#define GetPictureAttrsA(arg1, arg2) \
    __inline_GuiGFX_GetPictureAttrsA((arg1), (arg2), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define GetPictureAttrs(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    GetPictureAttrsA((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline ULONG __inline_GuiGFX_LockPictureA(APTR __arg1, ULONG __arg2, ULONG * __arg3, APTR __GuiGFXBase)
{
    return AROS_LC3(ULONG, LockPictureA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(ULONG,(__arg2),D0),
        AROS_LCA(ULONG *,(__arg3),A1),
        struct Library *, (__GuiGFXBase), 25, GuiGFX    );
}

#define LockPictureA(arg1, arg2, arg3) \
    __inline_GuiGFX_LockPictureA((arg1), (arg2), (arg3), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define LockPicture(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LockPictureA((arg1), (arg2), (ULONG *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline void __inline_GuiGFX_UnLockPicture(APTR __arg1, ULONG __arg2, APTR __GuiGFXBase)
{
    AROS_LC2NR(void, UnLockPicture,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(ULONG,(__arg2),D0),
        struct Library *, (__GuiGFXBase), 26, GuiGFX    );
}

#define UnLockPicture(arg1, arg2) \
    __inline_GuiGFX_UnLockPicture((arg1), (arg2), (APTR)GuiGFXBase)

static inline BOOL __inline_GuiGFX_IsPictureA(char * __arg1, struct TagItem * __arg2, APTR __GuiGFXBase)
{
    return AROS_LC2(BOOL, IsPictureA,
        AROS_LCA(char *,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__GuiGFXBase), 27, GuiGFX    );
}

#define IsPictureA(arg1, arg2) \
    __inline_GuiGFX_IsPictureA((arg1), (arg2), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define IsPicture(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    IsPictureA((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline APTR __inline_GuiGFX_CreateDirectDrawHandleA(APTR __arg1, UWORD __arg2, UWORD __arg3, UWORD __arg4, UWORD __arg5, struct TagItem * __arg6, APTR __GuiGFXBase)
{
    return AROS_LC6(APTR, CreateDirectDrawHandleA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(UWORD,(__arg2),D0),
        AROS_LCA(UWORD,(__arg3),D1),
        AROS_LCA(UWORD,(__arg4),D2),
        AROS_LCA(UWORD,(__arg5),D3),
        AROS_LCA(struct TagItem *,(__arg6),A1),
        struct Library *, (__GuiGFXBase), 28, GuiGFX    );
}

#define CreateDirectDrawHandleA(arg1, arg2, arg3, arg4, arg5, arg6) \
    __inline_GuiGFX_CreateDirectDrawHandleA((arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define CreateDirectDrawHandle(arg1, arg2, arg3, arg4, arg5, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    CreateDirectDrawHandleA((arg1), (arg2), (arg3), (arg4), (arg5), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline void __inline_GuiGFX_DeleteDirectDrawHandle(APTR __arg1, APTR __GuiGFXBase)
{
    AROS_LC1NR(void, DeleteDirectDrawHandle,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__GuiGFXBase), 29, GuiGFX    );
}

#define DeleteDirectDrawHandle(arg1) \
    __inline_GuiGFX_DeleteDirectDrawHandle((arg1), (APTR)GuiGFXBase)

static inline BOOL __inline_GuiGFX_DirectDrawTrueColorA(APTR __arg1, ULONG * __arg2, UWORD __arg3, ULONG __arg4, struct TagItem * __arg5, APTR __GuiGFXBase)
{
    return AROS_LC5(BOOL, DirectDrawTrueColorA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(ULONG *,(__arg2),A1),
        AROS_LCA(UWORD,(__arg3),D0),
        AROS_LCA(ULONG,(__arg4),D1),
        AROS_LCA(struct TagItem *,(__arg5),A2),
        struct Library *, (__GuiGFXBase), 30, GuiGFX    );
}

#define DirectDrawTrueColorA(arg1, arg2, arg3, arg4, arg5) \
    __inline_GuiGFX_DirectDrawTrueColorA((arg1), (arg2), (arg3), (arg4), (arg5), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define DirectDrawTrueColor(arg1, arg2, arg3, arg4, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    DirectDrawTrueColorA((arg1), (arg2), (arg3), (arg4), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

static inline BOOL __inline_GuiGFX_CreatePictureMaskA(APTR __arg1, UBYTE * __arg2, UWORD __arg3, struct TagItem * __arg4, APTR __GuiGFXBase)
{
    return AROS_LC4(BOOL, CreatePictureMaskA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(UBYTE *,(__arg2),A1),
        AROS_LCA(UWORD,(__arg3),D0),
        AROS_LCA(struct TagItem *,(__arg4),A2),
        struct Library *, (__GuiGFXBase), 31, GuiGFX    );
}

#define CreatePictureMaskA(arg1, arg2, arg3, arg4) \
    __inline_GuiGFX_CreatePictureMaskA((arg1), (arg2), (arg3), (arg4), (APTR)GuiGFXBase)

#if !defined(NO_INLINE_STDARG) && !defined(GUIGFX_NO_INLINE_STDARG)
#define CreatePictureMask(arg1, arg2, arg3, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    CreatePictureMaskA((arg1), (arg2), (arg3), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#endif /* INLINE_GUIGFX_H*/
