define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / intuition / lockpubclass.c
blob57b540bb25374c17d97e2c9fb0373ed1be9cd24c
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
6 Locks the public classes list.
7 */
9 #include <proto/exec.h>
10 #include "intuition_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/intuition.h>
17 AROS_LH0(void, lockPubClass,
19 /* SYNOPSIS */
21 /* LOCATION */
22 struct IntuitionBase *, IntuitionBase, 120, Intuition)
24 /* FUNCTION
26 Locks the public classes list.
28 INPUTS
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 unlockPubClass()
42 INTERNALS
44 HISTORY
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 ObtainSemaphoreShared(&GetPrivIBase(IntuitionBase)->ClassListLock);
52 AROS_LIBFUNC_EXIT
53 } /* unlockPubClass */