aboutsummaryrefslogtreecommitdiff
path: root/sys/mwcs/iwcfits.x
blob: 61e90b93fac2098b24e935a6d973864b4613ef77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include	"imwcs.h"

# IW_CFITS -- Close (free) an IMWCS descriptor allocated previously by
# IW_RFITS.

procedure iw_cfits (iw)

pointer	iw			#I pointer to IMWCS descriptor

begin
	if (IW_CBUF(iw) != NULL)
	    call mfree (IW_CBUF(iw), TY_STRUCT)
	if (IW_SBUF(iw) != NULL)
	    call mfree (IW_SBUF(iw), TY_CHAR)
	call mfree (iw, TY_STRUCT)
end