Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / dosupernew.c
blob44ecebeafd46d44f4ac6f85b74ad94ff51519a08
1 /*
2 Copyright © 2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define INTUITION_NO_INLINE_STDARG
8 #include <intuition/classes.h>
9 #include <utility/tagitem.h>
10 #include <stdarg.h>
11 #include <proto/alib.h>
12 #include "alib_intern.h"
14 /******************************************************************************
16 NAME */
17 #include <intuition/classusr.h>
18 #include <proto/intuition.h>
20 IPTR DoSuperNewTagList
22 /* SYNOPSIS */
23 Class *CLASS,
24 Object *object,
25 struct GadgetInfo *gadgetInfo,
26 struct TagItem *tags
29 /* FUNCTION
31 INPUTS
33 RESULT
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 NewObjectA(), SetAttrsA(), GetAttr(), DisposeObject(), DoMethodA(),
43 CoerceMethodA(), <intuition/classes.h>
45 ******************************************************************************/
47 if (CLASS == NULL || object == NULL) return NULL;
49 return DoSuperMethod(CLASS, object, OM_NEW, tags, gadgetInfo);
50 } /* DoSuperNewTagList() */
52 IPTR DoSuperNewTags
54 Class *CLASS,
55 Object *object,
56 struct GadgetInfo *gadgetInfo,
57 Tag tag1,
58 ...
61 if (CLASS == NULL || object == NULL)
62 return NULL;
64 return DoSuperNewTagList(CLASS, object, gadgetInfo, (struct TagItem *) &tag1);
65 } /* DoSuperNewTags() */