--- libelwix/inc/elwix/aarray.h 2019/01/21 11:57:13 1.8 +++ libelwix/inc/elwix/aarray.h 2019/01/22 16:16:45 1.8.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aarray.h,v 1.8 2019/01/21 11:57:13 misho Exp $ +* $Id: aarray.h,v 1.8.4.1 2019/01/22 16:16:45 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 *