2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: Obtain array of attribute base IDs
9 #include <proto/exec.h>
10 #include <exec/memory.h>
11 #include <aros/debug.h>
16 /*****************************************************************************
20 #include <proto/oop.h>
23 AROS_LH2(ULONG
, OOP_ObtainAttrBasesArray
,
26 AROS_LHA(OOP_AttrBase
*, bases
, A0
),
27 AROS_LHA(CONST_STRPTR
const *, ids
, A1
),
30 struct Library
*, OOPBase
, 23, OOP
)
33 Obtain several attribute base IDs, storing them in linear array.
36 bases - a pointer to array to fill in
37 ids - a NULL-terminated array of interface IDs
40 Zero on success or number of failed bases on failure. Failed
41 entries will be set to 0.
50 OOP_ReleaseAttrBasesArray()
56 ******************************************************************************/
64 *bases
= OOP_ObtainAttrBase(*ids
);