Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / intuition / unlockibase.c
blobfe9566de305ed1b64541ea1448e2adb491f71a07
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
6 Permits the access to all public fields of the IntuitionBase.
7 */
9 #include <proto/exec.h>
10 #include "intuition_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/intuition.h>
17 AROS_LH1(void, UnlockIBase,
19 /* SYNOPSIS */
20 AROS_LHA(ULONG, ibLock, A0),
22 /* LOCATION */
23 struct IntuitionBase *, IntuitionBase, 70, Intuition)
25 /* FUNCTION
26 Release parts of Intuition which have been blocked with a prior
27 call to LockIBase().
29 INPUTS
30 ibLock - The result of LockIBase().
32 RESULT
33 None.
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 LockIBase()
44 INTERNALS
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 ibLock = ibLock; /* shut up the compiler */
52 ReleaseSemaphore (GetPrivIBase(IntuitionBase)->IBaseLock);
54 AROS_LIBFUNC_EXIT
55 } /* UnlockIBase */