#ifndef INLINE_MYSTICVIEW_H
#define INLINE_MYSTICVIEW_H

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

/*
    Desc: Inline function for mysticview
*/

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


static inline APTR __inline_MysticView_MV_CreateA(struct Screen * __arg1, struct RastPort * __arg2, struct TagItem * __arg3, APTR __MysticBase)
{
    return AROS_LC3(APTR, MV_CreateA,
        AROS_LCA(struct Screen *,(__arg1),A0),
        AROS_LCA(struct RastPort *,(__arg2),A1),
        AROS_LCA(struct TagItem *,(__arg3),A2),
        struct Library *, (__MysticBase), 5, MysticView    );
}

#define MV_CreateA(arg1, arg2, arg3) \
    __inline_MysticView_MV_CreateA((arg1), (arg2), (arg3), (APTR)MysticBase)

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

static inline void __inline_MysticView_MV_Delete(APTR __arg1, APTR __MysticBase)
{
    AROS_LC1NR(void, MV_Delete,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__MysticBase), 6, MysticView    );
}

#define MV_Delete(arg1) \
    __inline_MysticView_MV_Delete((arg1), (APTR)MysticBase)

static inline void __inline_MysticView_MV_SetAttrsA(APTR __arg1, struct TagItem * __arg2, APTR __MysticBase)
{
    AROS_LC2NR(void, MV_SetAttrsA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__MysticBase), 7, MysticView    );
}

#define MV_SetAttrsA(arg1, arg2) \
    __inline_MysticView_MV_SetAttrsA((arg1), (arg2), (APTR)MysticBase)

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

static inline BOOL __inline_MysticView_MV_DrawOn(APTR __arg1, APTR __MysticBase)
{
    return AROS_LC1(BOOL, MV_DrawOn,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__MysticBase), 8, MysticView    );
}

#define MV_DrawOn(arg1) \
    __inline_MysticView_MV_DrawOn((arg1), (APTR)MysticBase)

static inline void __inline_MysticView_MV_DrawOff(APTR __arg1, APTR __MysticBase)
{
    AROS_LC1NR(void, MV_DrawOff,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__MysticBase), 9, MysticView    );
}

#define MV_DrawOff(arg1) \
    __inline_MysticView_MV_DrawOff((arg1), (APTR)MysticBase)

static inline void __inline_MysticView_MV_Refresh(APTR __arg1, APTR __MysticBase)
{
    AROS_LC1NR(void, MV_Refresh,
        AROS_LCA(APTR,(__arg1),A0),
        struct Library *, (__MysticBase), 10, MysticView    );
}

#define MV_Refresh(arg1) \
    __inline_MysticView_MV_Refresh((arg1), (APTR)MysticBase)

static inline void __inline_MysticView_MV_GetAttrsA(APTR __arg1, struct TagItem * __arg2, APTR __MysticBase)
{
    AROS_LC2NR(void, MV_GetAttrsA,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__MysticBase), 11, MysticView    );
}

#define MV_GetAttrsA(arg1, arg2) \
    __inline_MysticView_MV_GetAttrsA((arg1), (arg2), (APTR)MysticBase)

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

static inline void __inline_MysticView_MV_SetViewStart(APTR __arg1, LONG __arg2, LONG __arg3, APTR __MysticBase)
{
    AROS_LC3NR(void, MV_SetViewStart,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(LONG,(__arg2),D0),
        AROS_LCA(LONG,(__arg3),D1),
        struct Library *, (__MysticBase), 12, MysticView    );
}

#define MV_SetViewStart(arg1, arg2, arg3) \
    __inline_MysticView_MV_SetViewStart((arg1), (arg2), (arg3), (APTR)MysticBase)

static inline void __inline_MysticView_MV_SetViewRelative(APTR __arg1, LONG __arg2, LONG __arg3, APTR __MysticBase)
{
    AROS_LC3NR(void, MV_SetViewRelative,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(LONG,(__arg2),D0),
        AROS_LCA(LONG,(__arg3),D1),
        struct Library *, (__MysticBase), 13, MysticView    );
}

#define MV_SetViewRelative(arg1, arg2, arg3) \
    __inline_MysticView_MV_SetViewRelative((arg1), (arg2), (arg3), (APTR)MysticBase)

static inline void __inline_MysticView_MV_Lock(APTR __arg1, BOOL __arg2, APTR __MysticBase)
{
    AROS_LC2NR(void, MV_Lock,
        AROS_LCA(APTR,(__arg1),A0),
        AROS_LCA(BOOL,(__arg2),D0),
        struct Library *, (__MysticBase), 14, MysticView    );
}

#define MV_Lock(arg1, arg2) \
    __inline_MysticView_MV_Lock((arg1), (arg2), (APTR)MysticBase)

#endif /* INLINE_MYSTICVIEW_H*/
