Unification of "SEE ALSO" for boopsi.library
[cake.git] / rom / graphics / freerastport.c
blob5089ddbf0e3bf973c75a6982dd163709748ff7a7
1 /*
2 Copyright © 1995-2007, 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
57 DeinitRastPort (rp);
59 FreeMem (rp, sizeof (struct RastPort));
61 AROS_LIBFUNC_EXIT
62 } /* FreeRastPort */