#ifndef INLINE_BATTCLOCK_H
#define INLINE_BATTCLOCK_H

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

/*
    Desc: Inline function for battclock
*/

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


static inline void __inline_Battclock_ResetBattClock(APTR __BattClockBase)
{
    AROS_LC0NR(void, ResetBattClock,
        struct Library *, (__BattClockBase), 1, Battclock    );
}

#define ResetBattClock() \
    __inline_Battclock_ResetBattClock((APTR)BattClockBase)

static inline ULONG __inline_Battclock_ReadBattClock(APTR __BattClockBase)
{
    return AROS_LC0(ULONG, ReadBattClock,
        struct Library *, (__BattClockBase), 2, Battclock    );
}

#define ReadBattClock() \
    __inline_Battclock_ReadBattClock((APTR)BattClockBase)

static inline void __inline_Battclock_WriteBattClock(ULONG __arg1, APTR __BattClockBase)
{
    AROS_LC1NR(void, WriteBattClock,
        AROS_LCA(ULONG,(__arg1),D0),
        struct Library *, (__BattClockBase), 3, Battclock    );
}

#define WriteBattClock(arg1) \
    __inline_Battclock_WriteBattClock((arg1), (APTR)BattClockBase)

#endif /* INLINE_BATTCLOCK_H*/
