--- libelwix/inc/elwix/aarray.h 2024/10/29 01:12:06 1.11.44.1 +++ libelwix/inc/elwix/aarray.h 2025/08/21 15:43:00 1.13 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aarray.h,v 1.11.44.1 2024/10/29 01:12:06 misho Exp $ +* $Id: aarray.h,v 1.13 2025/08/21 15:43:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -75,6 +75,10 @@ typedef struct _tagArray { } while (0) #define array_Var(_arr, _d) (assert((_arr) && (_arr)->arr_num > _d), (ait_val_t*) (_arr)->arr_data[_d]) +#ifdef __cplusplus +extern "C" { +#endif + /* * array_Init() - Create and initialize dynamic array * @@ -219,5 +223,8 @@ int array_Push(array_t * __restrict arr, void *data, i */ int array_Pop(array_t * __restrict arr, void ** __restrict data, int nodel); +#ifdef __cplusplus +} +#endif #endif