x11gfx.hidd: support 32 bit modes
[AROS.git] / rom / hyperlayers / locklayerinfo.c
blobecf4741aec0732664f22d8c4b082ab38c6a222bb
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <aros/libcall.h>
9 #include <proto/exec.h>
11 #define DEBUG 0
12 #include <aros/debug.h>
13 #undef kprintf
15 /*****************************************************************************
17 NAME */
18 #include <proto/layers.h>
19 #include "layers_intern.h"
21 AROS_LH1(void, LockLayerInfo,
23 /* SYNOPSIS */
24 AROS_LHA(struct Layer_Info *, li, A0),
26 /* LOCATION */
27 struct LayersBase *, LayersBase, 20, Layers)
29 /* FUNCTION
31 INPUTS
33 RESULT
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
45 HISTORY
46 27-11-96 digulla automatically created from
47 layers_lib.fd and clib/layers_protos.h
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 D(bug("LockLayerInfo(li @ $%lx)\n", li));
55 ObtainSemaphore(&li->Lock);
57 AROS_LIBFUNC_EXIT
58 } /* LockLayerInfo */