Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / libs / muimaster / classes / semaphore.h
bloba0442c7dd4e045278bc48ebf017542369491dfd0
1 #ifndef _MUI_CLASSES_SEMAPHORE_H
2 #define _MUI_CLASSES_SEMAPHORE_H
4 /*
5 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 /*** Name *******************************************************************/
10 #define MUIC_Semaphore "Semaphore.mui"
12 /*** Identifier base (for Zune extensions) **********************************/
13 #define MUIB_Semaphore (MUIB_ZUNE | 0x00003000)
15 /*** Methods ****************************************************************/
16 #define MUIM_Semaphore_Attempt (MUIB_MUI|0x00426ce2) /* MUI: V11 */
17 #define MUIM_Semaphore_AttemptShared (MUIB_MUI|0x00422551) /* MUI: V11 */
18 #define MUIM_Semaphore_Obtain (MUIB_MUI|0x004276f0) /* MUI: V11 */
19 #define MUIM_Semaphore_ObtainShared (MUIB_MUI|0x0042ea02) /* MUI: V11 */
20 #define MUIM_Semaphore_Release (MUIB_MUI|0x00421f2d) /* MUI: V11 */
21 struct MUIP_Semaphore_Attempt {STACKED ULONG MethodID;};
22 struct MUIP_Semaphore_AttemptShared {STACKED ULONG MethodID;};
23 struct MUIP_Semaphore_Obtain {STACKED ULONG MethodID;};
24 struct MUIP_Semaphore_ObtainShared {STACKED ULONG MethodID;};
25 struct MUIP_Semaphore_Release {STACKED ULONG MethodID;};
28 extern const struct __MUIBuiltinClass _MUI_Semaphore_desc; /* PRIV */
30 #endif /* _MUI_CLASSES_SEMAPHORE_H */