--- libaitio/inc/aitio.h 2011/08/31 12:29:32 1.11.2.6 +++ libaitio/inc/aitio.h 2011/08/31 12:46:58 1.11.2.7 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.11.2.6 2011/08/31 12:29:32 misho Exp $ +* $Id: aitio.h,v 1.11.2.7 2011/08/31 12:46:58 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -402,6 +402,13 @@ inline int io_arrayLen(array_t * __restrict arr); * return: -1 error; >0 new count of destination array */ int io_arrayConcat(array_t * __restrict dest, array_t * __restrict src); +/* + * io_arrayCopy() Copy source array to destination array + * @dest = Destination array, after use free with io_arrayDestroy() + * @src = Source array + * return: -1 error; >0 count of destination array + */ +int io_arrayCopy(array_t ** __restrict dest, array_t * __restrict src); /* * io_arrayGrow() - Grow/Shrink dynamic array, Use with care when it shrink!!! * @arr = Array