Codebase list libmawk / f8605bc src / libmawk / man / libmawk_cell_destroy.3libmawk
f8605bc

Tree @f8605bc (Download .tar.gz)

libmawk_cell_destroy.3libmawk @f8605bcraw · history · blame

.\" Copyright 2009 Tibor Palinkas (mawk@inno.bme.hu)
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH LIBMAWK_CELL_DESTROY 3libmawk  2009-08-12 "libmawk" "libmawk manual"
.SH NAME
libmawk_cell_destroy \- free all memory associated with a cell
.SH SYNOPSIS
.nf
.B #include <libmawk.h>
.sp
.BI "void libmawk_cell_destroy(mawk_state_t *" m ", CELL *" c ");"
.fi
.sp
.SH DESCRIPTION
The
.BR libmawk_cell_destroy ()
function frees all memory allocated to store a mawk cell. It is useful
with some of the libmawk calls that return a newly allocated cell, such as
the libmawk_call_function() call.
.sp
Argument m is a libmawk context previously returned by libmawk_initialize()
or libmawk_initialize_stage3().

.SH "SEE ALSO"
.BR libmawk_initialize_stage (3libmawk),
.BR libmawk_initialize (3libmawk),
.BR libmawk_call_function (3libmawk).