#ifndef DEFINES_MISC_PROTOS_H
#define DEFINES_MISC_PROTOS_H

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

/*
    Desc: Defines for misc
*/

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


#define __AllocMiscResource_WB(__MiscBase, __arg1, __arg2) \
        AROS_LC2(char *, AllocMiscResource, \
                  AROS_LCA(ULONG,(__arg1),D0), \
                  AROS_LCA(char *,(__arg2),A0), \
        APTR , (__MiscBase), 1, Misc)

#define AllocMiscResource(arg1, arg2) \
    __AllocMiscResource_WB(MiscBase, (arg1), (arg2))

#define __FreeMiscResource_WB(__MiscBase, __arg1) \
        AROS_LC1(void, FreeMiscResource, \
                  AROS_LCA(ULONG,(__arg1),D0), \
        APTR , (__MiscBase), 2, Misc)

#define FreeMiscResource(arg1) \
    __FreeMiscResource_WB(MiscBase, (arg1))

#endif /* DEFINES_MISC_PROTOS_H*/
