Function ProArrayObjectRemove
Description
Removes an object from a specified location in the array.
NOTE:
Because this call may cause the array to be reallocated, you must pass the address of the array.
Synopsis
#include <ProArray.h>
ProArrayObjectRemove
(
ProArray* p_array
/* (In)
The address of the array.
*/
int index
/* (In)
The position at which to remove the objects from the array. The index value can range from 0 to (size of array-1). If the index is less than 0 (PRO_VALUE_UNUSED), the array shrinks by n_objects.
*/
int n_objects
/* (In)
The number of objects to remove.
*/
)
Returns
The function successfully removed the objects.
One or more of the arguments are invalid.
Sample Code References
User Guide References
¿Fue esto útil?