2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Allocate a NamedObject with varargs.
8 #define AROS_TAGRETURNTYPE struct NamedObject *
10 #define NO_INLINE_STDARG /* turn off inline def */
11 #include <proto/utility.h>
12 #include "alib_intern.h"
14 /*****************************************************************************
17 #include <utility/tagitem.h>
18 #include <utility/name.h>
19 #include <proto/utility.h>
21 struct NamedObject
* AllocNamedObject (
29 Allocate a NamedObject. This is the varargs version of the function.
30 For more information see AllocNamedObjectA() in utility.library.
33 name - The name of the object to allocate.
34 tag1 - The first Tag of the arguments. End the list with
38 The address of a NamedObject, or NULL if the allocation failed.
47 utility/AllocNamedObjectA()
52 09-02-1997 iaint Adapted from another function.
54 *****************************************************************************/
56 AROS_SLOWSTACKTAGS_PRE(tag1
)
58 retval
= AllocNamedObjectA(name
, AROS_SLOWSTACKTAGS_ARG(tag1
));
60 AROS_SLOWSTACKTAGS_POST
61 } /* AllocNamedObject */