2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: Obtain array of method ID bases
9 /*****************************************************************************
13 #include <proto/oop.h>
16 AROS_LH2(ULONG
, OOP_ObtainMethodBasesArray
,
19 AROS_LHA(OOP_MethodID
*, bases
, A0
),
20 AROS_LHA(CONST_STRPTR
const *, ids
, A1
),
23 struct Library
*, OOPBase
, 25, OOP
)
26 Obtain several method ID bases, storing them in linear array.
29 bases - a pointer to array to fill in
30 ids - a NULL-terminated array of interface IDs
33 Zero on success or number of failed bases on failure. Failed array
34 entries will be set to -1.
37 Method IDs are owned by particular class, and are released when
38 the class is destroyed. Thus, there is no ReleaseMethodBasesArray()
51 ******************************************************************************/
59 *bases
= OOP_GetMethodID(*ids
, 0);