#ifndef DEFINES_MISC_H
#define DEFINES_MISC_H

/*
    *** Automatically generated from '/home/aros/ABIv0/Build/20110803/AROS/rom/misc/misc.conf'. Edits will be lost. ***
    Copyright © 1995-2011, 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>

__BEGIN_DECLS


#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_LC1NR(void, FreeMiscResource, \
                  AROS_LCA(ULONG,(__arg1),D0), \
        APTR , (__MiscBase), 2, Misc)

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

__END_DECLS

#endif /* DEFINES_MISC_H*/
