New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / graphics / freerastport.c
blobf3afdbf4f64d754f3f6d555bc329e76ec306605f
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: AROS Graphics function FreeRastPort
6 Lang: english
7 */
8 #include "graphics_intern.h"
9 #include <graphics/rastport.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
14 NAME */
15 #include <graphics/rastport.h>
16 #include <proto/graphics.h>
18 AROS_LH1(void, FreeRastPort,
20 /* SYNOPSIS */
21 AROS_LHA(struct RastPort *, rp, A1),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 180, Graphics)
26 /* FUNCTION
27 This frees a RastPort obtained with CloneRastPort() or
28 CreateRastPort().
30 INPUTS
31 rp - The result of CloneRastPort() or CreateRastPort().
33 RESULT
34 None.
36 NOTES
37 This function is AROS specific. For compatibility, there is a function
38 with the same name in aros.lib on Amiga.
40 EXAMPLE
42 BUGS
44 SEE ALSO
45 CloneRastPort(), CreateRastPort()
47 INTERNALS
49 HISTORY
50 29-10-95 digulla automatically created from
51 graphics_lib.fd and clib/graphics_protos.h
53 *****************************************************************************/
55 AROS_LIBFUNC_INIT
56 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
58 DeinitRastPort (rp);
60 FreeMem (rp, sizeof (struct RastPort));
62 AROS_LIBFUNC_EXIT
63 } /* FreeRastPort */