#ifndef INLINE_RAMDRIVE_H
#define INLINE_RAMDRIVE_H

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

/*
    Desc: Inline function for ramdrive
*/

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


static inline STRPTR __inline_Ramdrive_killrad0(APTR __RamdriveBase)
{
    return AROS_LC0(STRPTR, killrad0,
        struct Device *, (__RamdriveBase), 7, Ramdrive    );
}

#define killrad0() \
    __inline_Ramdrive_killrad0((APTR)RamdriveBase)

static inline STRPTR __inline_Ramdrive_killrad(ULONG __arg1, APTR __RamdriveBase)
{
    return AROS_LC1(STRPTR, killrad,
        AROS_LCA(ULONG,(__arg1),D0),
        struct Device *, (__RamdriveBase), 8, Ramdrive    );
}

#define killrad(arg1) \
    __inline_Ramdrive_killrad((arg1), (APTR)RamdriveBase)

#endif /* INLINE_RAMDRIVE_H*/
