2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: AROS Graphics function FreeRastPort
9 #include <graphics/rastport.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
15 #include <graphics/rastport.h>
16 #include <proto/arossupport.h>
24 This frees a RastPort obtained with CloneRastPort() or
28 rp - The result of CloneRastPort() or CreateRastPort().
40 CloneRastPort(), CreateRastPort()
45 29-10-95 digulla automatically created from
46 graphics_lib.fd and clib/graphics_protos.h
48 *****************************************************************************/
51 FreeVec(rp
->RP_Extra
);
53 FreeMem (rp
, sizeof (struct RastPort
));