| Description |
| Allocates an array of objects. The maximum memory allocated is approximately 2 Mb, except for alpha_unix (or other 64-bit platforms), where the maximum is twice that. Refer to ProArrayMaxCountGet for data on getting the maximum number of objects of obj_size that can be stored in a specified ProArray. |
| Synopsis |
| #include <ProArray.h> |
| ProError | ProArrayAlloc | ( |
| int n_objs | |
| /*
(In) |
| The initial number of objects allocated in the array. |
| */ |
| int obj_size | |
| /*
(In) |
| The size of each object in the array |
| */ |
| int reallocation_size | |
| /*
(In) |
| The minimum number of objects added or deleted if Creo Parametric TOOLKIT resizes the array, e.g. on a call to ProArrayObjectAdd. |
| */ |
| ProArray* p_array | |
| /*
(Out) |
| The allocated array |
| */ |
| ) |
| Returns |
|
|