source:
trunk/SRC/ReadWrite/idl-NetCDF/ncdf_struct_free.pro
@
308
Last change on this file since 308 was 157, checked in by navarro, 18 years ago | |
---|---|
|
|
File size: 361 bytes |
Rev | Line | |
---|---|---|
[157] | 1 | ;+ |
2 | ; @file_comments | |
3 | ; | |
4 | ; | |
5 | ; @categories | |
6 | ; | |
7 | ; | |
8 | ; @param S | |
9 | ; The string to be searched | |
10 | ; | |
11 | ; | |
12 | ; @returns | |
13 | ; | |
14 | ; | |
15 | ; @restrictions | |
16 | ; | |
17 | ; | |
18 | ; @examples | |
19 | ; | |
20 | ; | |
21 | ; @history | |
22 | ; | |
23 | ; | |
24 | ; @version | |
25 | ; $Id$ | |
26 | ; | |
27 | ;- | |
[67] | 28 | PRO ncdf_struct_free,s |
[114] | 29 | ; |
30 | compile_opt idl2, strictarrsubs | |
31 | ; | |
[67] | 32 | |
33 | ; | |
34 | ; free heap memory associated with struct returned by ncdf_struct | |
35 | ; | |
36 | ||
37 | for i=0,s.nvars-1 do ptr_free,s.vars.(i).data | |
38 | ||
39 | end |
Note: See TracBrowser
for help on using the repository browser.