1LIBMAWK_CELL_DESTROY(3libmawk) libmawk manual LIBMAWK_CELL_DESTROY(3libmawk)
2
3
4
6 libmawk_cell_destroy - free all memory associated with a cell
7
9 #include <libmawk.h>
10
11 void libmawk_cell_destroy(mawk_state_t *m, CELL *c);
12
13
15 The libmawk_cell_destroy() function frees all memory allocated to store
16 a mawk cell. It is useful with some of the libmawk calls that return a
17 newly allocated cell, such as the libmawk_call_function() call.
18
19 Argument m is a libmawk context previously returned by libmawk_initial‐
20 ize() or libmawk_initialize_stage3().
21
22
24 libmawk_initialize_stage(3libmawk), libmawk_initialize(3libmawk), lib‐
25 mawk_call_function(3libmawk).
26
27
28
29
30libmawk 2009-08-12 LIBMAWK_CELL_DESTROY(3libmawk)