2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: AROS Graphics function FreeRastPort
8 #include "graphics_intern.h"
9 #include <graphics/rastport.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
15 #include <graphics/rastport.h>
16 #include <proto/graphics.h>
18 AROS_LH1(void, FreeRastPort
,
21 AROS_LHA(struct RastPort
*, rp
, A1
),
24 struct GfxBase
*, GfxBase
, 180, Graphics
)
27 This frees a RastPort obtained with CloneRastPort() or
31 rp - The result of CloneRastPort() or CreateRastPort().
37 This function is AROS specific. For compatibility, there is a function
38 with the same name in aros.lib on Amiga.
45 CloneRastPort(), CreateRastPort()
50 29-10-95 digulla automatically created from
51 graphics_lib.fd and clib/graphics_protos.h
53 *****************************************************************************/
59 FreeMem (rp
, sizeof (struct RastPort
));