prg_vector_resize()
Abstract
Changes the number of defined elements in a vector.
Syntax
prg_vector_resize (vector_ptr, resized_count)
| Argument | Type | Description |
|---|---|---|
vector_ptr |
PrgT_Vector * |
vector of interest |
resized_count |
unsigned long |
new number of defined elements |
Return Type
PrgT_Compcode
PrgT_Compcode_Success if the operation is successful; PrgT_Compcode_Failure otherwise.
Header
prg_vector.h
Details
This function grows or shrinks the number of defined elements in the specified vector.