#ifndef INLINE_OOP_H
#define INLINE_OOP_H

/*
    *** Automatically generated from '/home/aros/ABIv0/Build/20110803/AROS/rom/oop/oop.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Inline function for oop
*/

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


static inline APTR __inline_OOP_OOP_NewObject(struct OOP_IClass * __arg1, UBYTE * __arg2, struct TagItem * __arg3, APTR __OOPBase)
{
    return AROS_LC3(APTR, OOP_NewObject,
        AROS_LCA(struct OOP_IClass *,(__arg1),A0),
        AROS_LCA(UBYTE *,(__arg2),A1),
        AROS_LCA(struct TagItem *,(__arg3),A2),
        struct Library *, (__OOPBase), 5, OOP    );
}

#define OOP_NewObject(arg1, arg2, arg3) \
    __inline_OOP_OOP_NewObject((arg1), (arg2), (arg3), (APTR)OOPBase)

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

static inline OOP_AttrBase __inline_OOP_OOP_ObtainAttrBase(STRPTR __arg1, APTR __OOPBase)
{
    return AROS_LC1(OOP_AttrBase, OOP_ObtainAttrBase,
        AROS_LCA(STRPTR,(__arg1),A0),
        struct Library *, (__OOPBase), 6, OOP    );
}

#define OOP_ObtainAttrBase(arg1) \
    __inline_OOP_OOP_ObtainAttrBase((arg1), (APTR)OOPBase)

static inline OOP_MethodID __inline_OOP_OOP_GetMethodID(STRPTR __arg1, ULONG __arg2, APTR __OOPBase)
{
    return AROS_LC2(OOP_MethodID, OOP_GetMethodID,
        AROS_LCA(STRPTR,(__arg1),A0),
        AROS_LCA(ULONG,(__arg2),D0),
        struct Library *, (__OOPBase), 7, OOP    );
}

#define OOP_GetMethodID(arg1, arg2) \
    __inline_OOP_OOP_GetMethodID((arg1), (arg2), (APTR)OOPBase)

static inline void __inline_OOP_OOP_AddClass(OOP_Class * __arg1, APTR __OOPBase)
{
    AROS_LC1NR(void, OOP_AddClass,
        AROS_LCA(OOP_Class *,(__arg1),A0),
        struct Library *, (__OOPBase), 8, OOP    );
}

#define OOP_AddClass(arg1) \
    __inline_OOP_OOP_AddClass((arg1), (APTR)OOPBase)

static inline void __inline_OOP_OOP_ReleaseAttrBase(STRPTR __arg1, APTR __OOPBase)
{
    AROS_LC1NR(void, OOP_ReleaseAttrBase,
        AROS_LCA(STRPTR,(__arg1),A0),
        struct Library *, (__OOPBase), 9, OOP    );
}

#define OOP_ReleaseAttrBase(arg1) \
    __inline_OOP_OOP_ReleaseAttrBase((arg1), (APTR)OOPBase)

static inline void __inline_OOP_OOP_DisposeObject(OOP_Object * __arg1, APTR __OOPBase)
{
    AROS_LC1NR(void, OOP_DisposeObject,
        AROS_LCA(OOP_Object *,(__arg1),A0),
        struct Library *, (__OOPBase), 10, OOP    );
}

#define OOP_DisposeObject(arg1) \
    __inline_OOP_OOP_DisposeObject((arg1), (APTR)OOPBase)

static inline void __inline_OOP_OOP_RemoveClass(OOP_Class * __arg1, APTR __OOPBase)
{
    AROS_LC1NR(void, OOP_RemoveClass,
        AROS_LCA(OOP_Class *,(__arg1),A0),
        struct Library *, (__OOPBase), 11, OOP    );
}

#define OOP_RemoveClass(arg1) \
    __inline_OOP_OOP_RemoveClass((arg1), (APTR)OOPBase)

static inline OOP_AttrBase __inline_OOP_OOP_GetAttrBase(STRPTR __arg1, APTR __OOPBase)
{
    return AROS_LC1(OOP_AttrBase, OOP_GetAttrBase,
        AROS_LCA(STRPTR,(__arg1),A0),
        struct Library *, (__OOPBase), 15, OOP    );
}

#define OOP_GetAttrBase(arg1) \
    __inline_OOP_OOP_GetAttrBase((arg1), (APTR)OOPBase)

static inline IPTR __inline_OOP_OOP_GetAttr(OOP_Object * __arg1, OOP_AttrID __arg2, IPTR * __arg3, APTR __OOPBase)
{
    return AROS_LC3(IPTR, OOP_GetAttr,
        AROS_LCA(OOP_Object *,(__arg1),A0),
        AROS_LCA(OOP_AttrID,(__arg2),A1),
        AROS_LCA(IPTR *,(__arg3),A2),
        struct Library *, (__OOPBase), 16, OOP    );
}

#define OOP_GetAttr(arg1, arg2, arg3) \
    __inline_OOP_OOP_GetAttr((arg1), (arg2), (arg3), (APTR)OOPBase)

static inline IPTR __inline_OOP_OOP_SetAttrs(OOP_Object * __arg1, struct TagItem * __arg2, APTR __OOPBase)
{
    return AROS_LC2(IPTR, OOP_SetAttrs,
        AROS_LCA(OOP_Object *,(__arg1),A0),
        AROS_LCA(struct TagItem *,(__arg2),A1),
        struct Library *, (__OOPBase), 17, OOP    );
}

#define OOP_SetAttrs(arg1, arg2) \
    __inline_OOP_OOP_SetAttrs((arg1), (arg2), (APTR)OOPBase)

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

static inline BOOL __inline_OOP_OOP_ObtainAttrBases(struct OOP_ABDescr * __arg1, APTR __OOPBase)
{
    return AROS_LC1(BOOL, OOP_ObtainAttrBases,
        AROS_LCA(struct OOP_ABDescr *,(__arg1),A0),
        struct Library *, (__OOPBase), 18, OOP    );
}

#define OOP_ObtainAttrBases(arg1) \
    __inline_OOP_OOP_ObtainAttrBases((arg1), (APTR)OOPBase)

static inline void __inline_OOP_OOP_ReleaseAttrBases(struct OOP_ABDescr * __arg1, APTR __OOPBase)
{
    AROS_LC1NR(void, OOP_ReleaseAttrBases,
        AROS_LCA(struct OOP_ABDescr *,(__arg1),A0),
        struct Library *, (__OOPBase), 19, OOP    );
}

#define OOP_ReleaseAttrBases(arg1) \
    __inline_OOP_OOP_ReleaseAttrBases((arg1), (APTR)OOPBase)

static inline LONG __inline_OOP_OOP_ParseAttrs(struct TagItem * __arg1, IPTR * __arg2, ULONG __arg3, OOP_AttrCheck * __arg4, OOP_AttrBase __arg5, APTR __OOPBase)
{
    return AROS_LC5(LONG, OOP_ParseAttrs,
        AROS_LCA(struct TagItem *,(__arg1),A0),
        AROS_LCA(IPTR *,(__arg2),A1),
        AROS_LCA(ULONG,(__arg3),D0),
        AROS_LCA(OOP_AttrCheck *,(__arg4),A2),
        AROS_LCA(OOP_AttrBase,(__arg5),D1),
        struct Library *, (__OOPBase), 20, OOP    );
}

#define OOP_ParseAttrs(arg1, arg2, arg3, arg4, arg5) \
    __inline_OOP_OOP_ParseAttrs((arg1), (arg2), (arg3), (arg4), (arg5), (APTR)OOPBase)

static inline void * __inline_OOP_OOP_GetMethod(OOP_Object * __arg1, OOP_MethodID __arg2, APTR __OOPBase)
{
    return AROS_LC2(void *, OOP_GetMethod,
        AROS_LCA(OOP_Object *,(__arg1),A0),
        AROS_LCA(OOP_MethodID,(__arg2),D0),
        struct Library *, (__OOPBase), 21, OOP    );
}

#define OOP_GetMethod(arg1, arg2) \
    __inline_OOP_OOP_GetMethod((arg1), (arg2), (APTR)OOPBase)

static inline OOP_Class * __inline_OOP_OOP_FindClass(UBYTE * __arg1, APTR __OOPBase)
{
    return AROS_LC1(OOP_Class *, OOP_FindClass,
        AROS_LCA(UBYTE *,(__arg1),A0),
        struct Library *, (__OOPBase), 22, OOP    );
}

#define OOP_FindClass(arg1) \
    __inline_OOP_OOP_FindClass((arg1), (APTR)OOPBase)

#endif /* INLINE_OOP_H*/
