2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
9 #include <proto/alib.h>
10 #include <proto/intuition.h>
11 #include <intuition/classusr.h>
13 #include "datatypes_intern.h"
15 /*****************************************************************************
18 #include <proto/datatypes.h>
20 AROS_LH1(ULONG
*, GetDTMethods
,
23 AROS_LHA(Object
*, object
, A0
),
26 struct Library
*, DataTypesBase
, 17, DataTypes
)
30 Get a list of the methods an object supports.
34 object -- pointer to a data type object
38 Pointer to a ULONG array which is terminated ~0; the array is only
39 valid until the object is disposed of.
55 *****************************************************************************/
66 opGet
.MethodID
= OM_GET
;
67 opGet
.opg_AttrID
= DTA_Methods
;
68 opGet
.opg_Storage
= (IPTR
*)&retval
;
70 if(!DoMethodA(object
, (Msg
)&opGet
))