aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/apphot/aplib/apfree.x
blob: 30c6c396ad5617576956139e829c17fc83e914f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
include "../lib/apphotdef.h"

# AP_NOISECLS -- Procedure to close up the noise structure and arrays.

procedure ap_noisecls (ap)

pointer ap		# pointer to apphot structure

begin
	if (AP_NOISE(ap) == NULL)
	    return
	call mfree (AP_NOISE(ap), TY_STRUCT)
end


# AP_DISPCLS -- Procedure to close up the dislay structure and arrays.

procedure ap_dispcls (ap)

pointer		ap		# pointer to the apphot structure

begin
	if (AP_PDISPLAY(ap) != NULL)
	    call mfree (AP_PDISPLAY(ap), TY_STRUCT)
end