Documentation de l'API
>
Creo Parametric TOOLKIT fundamentals
>
Object ProArray
> Function ProArraySizeSet
Function ProArraySizeSet
Description
Enables you to increase or decrease the size of an array.
NOTE:
Because this call may cause the array to be reallocated, you must pass the address of the array.
Synopsis
#include <
ProArray.h
>
ProError
ProArraySizeSet
(
ProArray
* p_array
/* (In)
The address of the array whose size should be changed
*/
int size
/* (In)
The new size of the array
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully set the array size.
PRO_TK_BAD_INPUTS
One or more of the input arguments are invalid.
Sample Code References
pt_examples ( TestAnimation.c )
pt_examples ( TestProcstep.c )
pt_examples ( TestProcstep.c )
pt_examples ( TestProcstep.c )
pt_examples ( TestProcstep.c )
pt_examples ( TestProcstep.c )
pt_examples ( TestProcstep.c )
pt_examples ( TestProcstep.c )
User Guide References
Expandable Arrays:ProArraySizeSet
Parent topic
Object ProArray
Est-ce que cela a été utile ?
Ce site fonctionne de manière optimale avec JavaScript activé.