Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_errrelease()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_errRelease()
Destroy an Error object
------------------------------------------------------------------------------
C Prototype
#include "error.api"
void _errRelease(
ERRORP pError
)
Arguments
pError is a pointer to the Error object to be destroyed.
Returns
_errRelease() has no return value.
Description
_errRelease() destroys the Error object pError and releases the memory
used by it.
Warning! _errRelease() does not release memory referenced by the
pointers it contains. You as the subsystem programmer must free this
memory as necessary.
Examples
. This code fragment shows the destruction of an Error object:
#include "error.api"
ERRORP pError;
pError = _errNew();
.
.
.
_errRelease( pError );
Files Library is CLIPPER.LIB, header file is Error.api.
See Also: _errLaunch() _errNew()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson