Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / allocdosobjecttags.c
blob08b8975320e68a34cc205e65df934de2bf7304e6
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of dos.library/AllocDosObject()
6 Lang: english
7 */
8 #define AROS_TAGRETURNTYPE APTR
9 #include <utility/tagitem.h>
11 /*****************************************************************************
13 NAME */
14 #define NO_INLINE_STDARG /* turn off inline def */
15 #include <proto/dos.h>
17 APTR AllocDosObjectTags (
19 /* SYNOPSIS */
20 ULONG type,
21 Tag tag1,
22 ...)
24 /* FUNCTION
25 This is the varargs version of dos.library/AllocDosObject().
26 For information see dos.library/AllocDosObject().
28 INPUTS
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
39 dos/AllocDosObject()
41 INTERNALS
43 HISTORY
45 *****************************************************************************/
47 AROS_SLOWSTACKTAGS_PRE(tag1)
48 retval = AllocDosObject (type, AROS_SLOWSTACKTAGS_ARG(tag1));
49 AROS_SLOWSTACKTAGS_POST
50 } /* AllocDosObjectTags */