Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / test / OOPDemos / include / sysdep / hashed_ifs.h
blob1e0e3149aec9475375b28f10c3b4c78d5a3a039b
1 #ifndef HASHED_IF_H
2 #define HASHED_IFS_H
4 /*
5 Copyright © 1997-98, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Demo of new OOP system
9 Lang: english
12 #include "types.h"
14 struct InterfaceBucket
16 struct InterfaceBucket *Next;
17 ULONG InterfaceID;
18 struct IFMethod *MethodTable;
19 ULONG NumMethods;
22 struct IFMethod
24 IPTR (*MethodFunc)();
25 Class *mClass;
28 struct InterfaceDescr
30 IPTR (**MethodTable)();
31 ULONG InterfaceID;
32 ULONG NumMethods; /* Max method idx */
35 #endif /* HASHED_METHODS_H */