V_free
FunctionDe-allocate a single vector
Syntax C/C++#include <VecLib.h>
void V_free( void *X );
Pascal/Delphiuses VecLib;
procedure V_free( Ptr:Pointer );
DescriptionThe vector X is freed (i.e. de-allocated). V_free should be used only for the de-allocation of vectors which have previously be allocated by one of the functions of the VF_vector or VF_vector0 family. To free several vectors simultaneously, use V_nfree (C/C++ only).
Error handlingTrying to free a vector that has already been freed, or that has never been allocated memory, leads to a warning message "Cannot free non-existent vector". Program execution is continued without freeing anything in this case.
Return valuenone
See alsoV_nfree,   V_freeAll,   VF_vector,   VF_vector0

VectorLib Table of Contents  OptiVec home