home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
misc
/
emu
/
AROSdev.lha
/
AROS
/
rom
/
graphics
/
freerastport.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-27
|
1KB
|
64 lines
/*
(C) 1995 AROS - The Amiga Replacement OS
$Id: freerastport.c,v 1.4 1997/01/27 00:36:10 ldp Exp $
Desc: AROS Graphics function FreeRastPort
Lang: english
*/
#include "graphics_intern.h"
#include <graphics/rastport.h>
#include <proto/exec.h>
/*****************************************************************************
NAME */
#include <graphics/rastport.h>
#include <proto/graphics.h>
AROS_LH1(void, FreeRastPort,
/* SYNOPSIS */
AROS_LHA(struct RastPort *, rp, A1),
/* LOCATION */
struct GfxBase *, GfxBase, 180, Graphics)
/* FUNCTION
This frees a RastPort obtained with CloneRastPort() or
CreateRastPort().
INPUTS
rp - The result of CloneRastPort() or CreateRastPort().
RESULT
None.
NOTES
This function is AROS specific. For compatibility, there is a function
with the same name in aros.lib on Amiga.
EXAMPLE
BUGS
SEE ALSO
CloneRastPort(), CreateRastPort()
INTERNALS
HISTORY
29-10-95 digulla automatically created from
graphics_lib.fd and clib/graphics_protos.h
*****************************************************************************/
{
AROS_LIBFUNC_INIT
AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
DeinitRastPort (rp);
FreeMem (rp, sizeof (struct RastPort));
AROS_LIBFUNC_EXIT
} /* FreeRastPort */