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

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: releasegirport.c,v 1.4 1997/01/27 00:36:43 ldp Exp $
  4.  
  5.     Desc: Intuition function ReleaseGIRPort()
  6.     Lang: english
  7. */
  8. #include "intuition_intern.h"
  9. #include <proto/graphics.h>
  10.  
  11. /*****************************************************************************
  12.  
  13.     NAME */
  14. #include <graphics/rastport.h>
  15. #include <proto/intuition.h>
  16.  
  17.     AROS_LH1(void, ReleaseGIRPort,
  18.  
  19. /*  SYNOPSIS */
  20.     AROS_LHA(struct RastPort *, rp, A0),
  21.  
  22. /*  LOCATION */
  23.     struct IntuitionBase *, IntuitionBase, 94, Intuition)
  24.  
  25. /*  FUNCTION
  26.     Release a RastPort previously obtained by ObtainGIRPort().
  27.  
  28.     INPUTS
  29.     rp - The result of ObtainGIRPort()
  30.  
  31.     RESULT
  32.     None.
  33.  
  34.     NOTES
  35.  
  36.     EXAMPLE
  37.  
  38.     BUGS
  39.  
  40.     SEE ALSO
  41.  
  42.     INTERNALS
  43.  
  44.     HISTORY
  45.     29-10-95    digulla automatically created from
  46.                 intuition_lib.fd and clib/intuition_protos.h
  47.  
  48. *****************************************************************************/
  49. {
  50.     AROS_LIBFUNC_INIT
  51.     AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
  52.  
  53.     FreeRastPort (rp);
  54.  
  55.     AROS_LIBFUNC_EXIT
  56. } /* ReleaseGIRPort */
  57.