/************************************************/
/* ML-Support                                   */
/* Freeware                                     */
/* © 1998-99 Christian Hattemer                 */
/* email: chris@mail.riednet.wh.tu-darmstadt.de */
/* 29.12.99 18:51                               */
/************************************************/

/* Compiler Stuff */
#define INLINE __inline
#define REG(x) register __##x
#define SAVEDS __saveds
#define METHOD __inline ULONG

/* Macros */
#define EMPTYSTR(Str) (!(*(Str)))
#define FINDOBJ(Obj, UData) ((Object *)DoMethod((Obj), MUIM_FindUData, (UData)))

/* Libraries */
#include <libraries/mui.h>

/* Protos */
#include <proto/exec.h>
#include <proto/intuition.h>
#include <proto/muimaster.h>

/* ML-Support */
#define MAX_TEXT 150

/*Functions */
INLINE LONG xget(Object *obj, ULONG Attr);

ULONG DoSuperNew(Class *cl, Object *obj, ULONG Tag1, ...);


INLINE LONG xget(Object *obj, ULONG Attr)
{
   LONG x;

   get(obj, Attr, &x);
   return x;
}

