File: RSL_free.html

package info (click to toggle)
librsl 1.42-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,836 kB
  • sloc: ansic: 16,950; sh: 8,544; yacc: 316; perl: 151; lex: 94; makefile: 61
file content (33 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
<head>
</head>

<body>
<a HREF="index.html"> <IMG SRC="rsl.gif"> </a>
<hr>


<h1>RSL_free_...</h1>

<hr>

<h3>Synopsis</h3>
<b>#include &quot;rsl.h&quot;</b> <br>
<b>void RSL_free_ray(<a href=RSL_ray_struct.html>Ray</a> *r);<br>
void RSL_free_sweep(<a href=RSL_sweep_struct.html>Sweep</a> *s);<br>
void RSL_free_volume(<a href=RSL_volume_struct.html>Volume</a> *v);</b> 

<h3>
<hr>Description</h3>
<b>RSL_free_volume</b> calls <b>RSL_free_sweep</b> for the number of sweeps, then frees the array of <b>Sweep</b> pointers, then frees itself. <b>RSL_free_sweep</b> calls <b>RSL_free_ray</b> for the number of rays, then frees the array of <b>Ray</b> pointers, then frees itself. Finally, <b>RSL_free_ray</b> frees the array of <b>Range</b>, then frees itself. Checks are made that non NULL pointers are freed. 
<hr>

<h3>Return value</h3>
None. 
<hr>

<h3>See also</h3>
<a href=RSL_clear.html>RSL_clear_volume</a>, <a href=RSL_clear.html>RSL_clear_sweep</a>, <a href=RSL_clear.html>RSL_clear_ray</a>. 
<hr>

<p>Author: <a href=john.merritt.html>John H. Merritt</a> 
</body>