--- libelwix/inc/elwix/aarray.h 2019/01/21 11:56:39 1.7.6.1 +++ libelwix/inc/elwix/aarray.h 2019/01/22 16:18:46 1.9 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aarray.h,v 1.7.6.1 2019/01/21 11:56:39 misho Exp $ +* $Id: aarray.h,v 1.9 2019/01/22 16:18:46 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -80,6 +80,14 @@ typedef struct _tagArray { * return: NULL error, != NULL allocated memory for array */ array_t *array_Init(int numItems); +/* + * array_Init2() - Initialize dynamic array + * + * @arr = Allocated array variable + * @numItems = Number of Items + * return: NULL error, != NULL allocated memory for array + */ +array_t *array_Init2(array_t * __restrict arr, int numItems); /* * array_Destroy() - Free and destroy dynamic array *