2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: OOP function OOP_ObtainAttrBases
9 #include <proto/exec.h>
10 #include <exec/memory.h>
11 #include <aros/debug.h>
15 /*****************************************************************************
19 #include <proto/oop.h>
22 AROS_LH1(BOOL
, OOP_ObtainAttrBases
,
25 AROS_LHA(const struct OOP_ABDescr
*, abd
, A0
),
28 struct Library
*, OOPBase
, 18, OOP
)
48 ******************************************************************************/
52 const struct OOP_ABDescr
*d
;
54 for (d
= abd
; d
->interfaceID
; d
++)
56 *d
->attrBase
= OOP_ObtainAttrBase(d
->interfaceID
);
58 if ( *d
->attrBase
== 0 )
60 /* Clear all other attrbase values */
62 while (d
->interfaceID
) {
65 OOP_ReleaseAttrBases(abd
);
73 } /* OOP_ObtainAttrBases */