home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / rom / graphics / deinitrastport.c < prev    next >
C/C++ Source or Header  |  1997-01-27  |  1KB  |  61 lines

  1. /*
  2.     (C) 1995 AROS - The Amiga Replacement OS
  3.     $Id: deinitrastport.c,v 1.3 1997/01/27 00:36:09 ldp Exp $    $Log
  4.  
  5.     Desc: AROS Graphics function DeinitRastPort()
  6.     Lang: english
  7. */
  8. #include "graphics_intern.h"
  9. #include <graphics/rastport.h>
  10.  
  11. /*****************************************************************************
  12.  
  13.     NAME */
  14. #include <proto/graphics.h>
  15.  
  16.     AROS_LH1(void, DeinitRastPort,
  17.  
  18. /*  SYNOPSIS */
  19.     AROS_LHA(struct RastPort *, rp, A1),
  20.  
  21. /*  LOCATION */
  22.     struct GfxBase *, GfxBase, 179, Graphics)
  23.  
  24. /*  FUNCTION
  25.     Frees the contents of a RastPort structure. The structure itself
  26.     is not freed.
  27.  
  28.     INPUTS
  29.     rp - The RastPort which contents are to be freed.
  30.  
  31.     RESULT
  32.     None.
  33.  
  34.     NOTES
  35.     You can initialize the RastPort again via InitRastPort() but
  36.     you must not use any other graphics function with it before
  37.     that.
  38.  
  39.     EXAMPLE
  40.  
  41.     BUGS
  42.  
  43.     SEE ALSO
  44.     InitRastPort()
  45.  
  46.     INTERNALS
  47.  
  48.     HISTORY
  49.     29-10-95    digulla automatically created from
  50.                 graphics_lib.fd and clib/graphics_protos.h
  51.  
  52. *****************************************************************************/
  53. {
  54.     AROS_LIBFUNC_INIT
  55.     AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
  56.  
  57.     driver_DeinitRastPort (rp, GfxBase);
  58.  
  59.     AROS_LIBFUNC_EXIT
  60. } /* DeinitRastPort */
  61.