Name
afc_array_master_init -- Inits the Array size
Synopsis
int afc_array_master_init
( ArrayMaster * array_master, unsigned long int size );
Description
Use this command to set a new initail dimension for the array.
Inputs
- array_master
Pointer to a valid afc_array_master instance.
- size
New array dimension.
Note
The actual use of memory can be computed using this algo: (size * (sizeof ( void * ) ) ).
On x86 machines, the sizeof ( void * ) is equal to 4 bytes, so setting the array dimension
to, let's say, 1000 items, will eat up 4k of memory.