--- libaitio/inc/aitio.h 2011/05/03 14:29:52 1.8.2.3 +++ libaitio/inc/aitio.h 2011/05/03 14:37:54 1.8.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.8.2.3 2011/05/03 14:29:52 misho Exp $ +* $Id: aitio.h,v 1.8.2.4 2011/05/03 14:37:54 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -353,6 +353,7 @@ inline void *io_sarrGet(sarr_t * __restrict arr, u_int */ inline void *io_sarrSet(sarr_t * __restrict arr, u_int idx, void *data); #define io_sarrDel(_arr, _idx) io_sarrSet(_arr, _idx, NULL) +#define io_sarr(_arr, _idx, _type) (_type)io_sarrGet(_arr, _idx) /* * ioURLGet() Parse and get data from input URL