#ifndef INLINE_MISC_H
#define INLINE_MISC_H

/*
    *** Automatically generated from '/data/deadwood/gitAROS/AROS/rom/misc/misc.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Inline function for misc
*/

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


static inline char * __inline_Misc_AllocMiscResource(ULONG __arg1, char * __arg2, APTR __MiscBase)
{
    return AROS_LC2(char *, AllocMiscResource,
        AROS_LCA(ULONG,(__arg1),D0),
        AROS_LCA(char *,(__arg2),A0),
        APTR , (__MiscBase), 1, Misc    );
}

#define AllocMiscResource(arg1, arg2) \
    __inline_Misc_AllocMiscResource((arg1), (arg2), (APTR)MiscBase)

static inline void __inline_Misc_FreeMiscResource(ULONG __arg1, APTR __MiscBase)
{
    AROS_LC1NR(void, FreeMiscResource,
        AROS_LCA(ULONG,(__arg1),D0),
        APTR , (__MiscBase), 2, Misc    );
}

#define FreeMiscResource(arg1) \
    __inline_Misc_FreeMiscResource((arg1), (APTR)MiscBase)

#endif /* INLINE_MISC_H*/
