1cs_destroy(3) cs/cs.h cs_destroy(3)
2
3
4
6 cs_destroy - clean up and dealloc a parse tree
7
9 #include <cs/cs.h>
10
11
12 void cs_destroy (CSPARSE **parse);
13
14
15
16
18 parse - a pointer to a parse structure.
19
20
22 cs_destroy will clean up all the memory associated with a CSPARSE
23 structure, including strings passed to cs_parse_string. This does not
24 clean up any memory allocated by your own CSOUTFUNC or the HDF data
25 structure passed to cs_init. It is safe to call this with a NULL
26 pointer, and it will leave parse NULL as well (ie, it can be called
27 more than once on the same var)
28
29
31 parse - will be NULL
32
33
35 cs_dump(3), cs_destroy(3), cs_render(3), cs_register_esc_strfunc(3),
36 cs_arg_parsev(3), cs_register_fileload(3), cs_init(3), cs_register_str‐
37 func(3), cs_arg_parse(3), cs_parse_string(3), cs_parse_file(3), =[22m(3),
38 cs_register_function
39
40
41
42ClearSilver 14 November 2006 cs_destroy(3)