2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include "datatypes_intern.h"
9 #include <proto/utility.h>
10 #include <utility/tagitem.h>
11 #include <dos/dostags.h>
13 /*****************************************************************************
17 AROS_LH2(ULONG
*, FindMethod
,
20 AROS_LHA(ULONG
*, methods
, A0
),
21 AROS_LHA(ULONG
, searchmethodid
, A1
),
24 struct Library
*, DataTypesBase
, 43, DataTypes
)
28 Search for a specific method in a array of methods.
32 methods -- array of methods; may be NULL
33 searchmethodid -- method to search for
37 Pointer to method table entry or NULL if the method wasn't found.
47 GetDTMethods(), CopyDTMethods()
53 2.8.99 SDuvan implemented
55 *****************************************************************************/
62 while(((LONG
)(*methods
)) != -1)
64 if(*methods
== searchmethodid
)