2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: NamedObjectName()
10 /*****************************************************************************
13 #include <proto/utility.h>
15 AROS_LH1(STRPTR
, NamedObjectName
,
18 AROS_LHA(struct NamedObject
*, object
, A0
),
21 struct UtilityBase
*, UtilityBase
, 42, Utility
)
24 Return the name associated with a NamedObject.
27 object - The NamedObject you want the name of.
30 The name of the object will be returned.
35 struct NamedObject *no;
38 \* Some other code here *\
40 name = NamedObjectName( no );
48 The name is stored in the ln_Name field of the list node.
51 29-10-95 digulla automatically created from
52 utility_lib.fd and clib/utility_protos.h
53 11-08-96 iaint Reworked for AROS style.
54 18-10-96 iaint New NamedObject style.
56 *****************************************************************************/
63 return GetIntNamedObject(object
)->no_Node
.ln_Name
;
69 } /* NamedObjectName */