Use dos.library/CreateNewProc() instead of alib/CreateNewProcTags()
[tangerine.git] / compiler / alib / newdtobject.c
blob14cf0fd5d660b450702321917ce586633c6aa33c
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Varargs version of datatypes.library/NewDTObject()
6 Lang: english
7 */
9 #define AROS_TAGRETURNTYPE Object *
10 #include <intuition/classusr.h>
11 #include <utility/tagitem.h>
13 #include <aros/debug.h>
15 extern struct Library *DataTypesBase;
17 /*****************************************************************************
19 NAME */
20 #define NO_INLINE_STDARG /* turn off inline def */
21 #include <proto/datatypes.h>
23 Object * NewDTObject (
25 /* SYNOPSIS */
26 APTR name,
27 Tag tag1,
28 ...)
30 /* FUNCTION
31 This is the varargs version of datatypes.library/NewDTObjectA().
32 For information see datatypes.library/NewDTObjectA().
34 INPUTS
36 RESULT
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_SLOWSTACKTAGS_PRE(tag1)
53 retval = NewDTObjectA (name, AROS_SLOWSTACKTAGS_ARG(tag1));
54 AROS_SLOWSTACKTAGS_POST
56 kprintf("NewDTObject: leave (alib)\n");
57 } /* NewDTObject */