2 ** OpenURL - MUI preferences for openurl.library
4 ** Written by Troels Walsted Hansen <troels@thule.no>
5 ** Placed in the public domain.
8 ** - Alfonso Ranieri <alforan@tin.it>
9 ** - Stefan Kost <ensonic@sonicpulse.de>
11 ** Ported to OS4 by Alexandre Balaban <alexandre@balaban.name>
17 /***********************************************************************/
18 #if !defined(__amigaos4__) && !defined(__AROS__)
21 NewObject(struct IClass
*classPtr
,UBYTE
*classID
,... )
27 res
= NewObjectA(classPtr
,classID
,(struct TagItem
*)va
->overflow_arg_area
);
33 /***********************************************************************/
36 MUI_NewObject(UBYTE
*classID
,... )
42 res
= MUI_NewObjectA(classID
,(struct TagItem
*)va
->overflow_arg_area
);
49 /***********************************************************************/
53 #if defined(__amigaos4__)
58 DoSuperNew(struct IClass
*cl
,Object
*obj
,...)
63 #if defined(__amigaos4__)
64 va_startlinear(va
,obj
);
65 res
= (APTR
)DoSuperMethod(cl
,obj
,OM_NEW
,va_getlinearva(va
,ULONG
),NULL
);
68 res
= (APTR
)DoSuperMethod(cl
,obj
,OM_NEW
,(ULONG
)va
->overflow_arg_area
,NULL
);
75 #endif /* !__AROS__ */
77 /***********************************************************************/