revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / cgfx / unlockbitmap.c
blob29bcf909f2faedef8ae9121d2fea23d0035dea16
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
9 #include <hidd/gfx.h>
10 #include <cybergraphx/cybergraphics.h>
12 #include "cybergraphics_intern.h"
14 /*****************************************************************************
16 NAME */
17 #include <proto/cybergraphics.h>
19 AROS_LH1(void, UnLockBitMap,
21 /* SYNOPSIS */
22 AROS_LHA(APTR, Handle, A0),
24 /* LOCATION */
25 struct Library *, CyberGfxBase, 29, Cybergraphics)
27 /* FUNCTION
28 Releases exclusive access to a bitmap.
30 INPUTS
31 Handle - handle to the bitmap to unlock.
33 RESULT
34 None.
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 UnLockBitMapTagList(), LockBitMapTagList()
44 INTERNALS
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 struct TagItem ultags[2] =
52 {UBMI_REALLYUNLOCK, TRUE },
53 {TAG_DONE, 0 }
56 if (Handle)
57 UnLockBitMapTagList(Handle, ultags);
59 AROS_LIBFUNC_EXIT
60 } /* UnLockBitMap */