Previous Next Edit Rename Undo Search Administration
void GB.FreeArray ( void *parray )
Deletes a memory array.
- parray must be a pointer to a variable that points at the array. It is not a real void * pointer, but a TYPE ** pointer casted to void *, TYPE being the type of the data that will be stored in the array.
/* Creates and delete an array of integers with n slots */
GB.NewArray((void *)&array, sizeof(*array), n);