--- libelwix/inc/elwix/asarr.h 2013/01/17 10:05:35 1.1.1.1 +++ libelwix/inc/elwix/asarr.h 2015/06/25 17:53:49 1.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: asarr.h,v 1.1.1.1 2013/01/17 10:05:35 misho Exp $ +* $Id: asarr.h,v 1.4 2015/06/25 17:53:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2015 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -105,7 +105,7 @@ int sarr_Copy(sarr_t ** __restrict dest, sarr_t * __re * @idx = Index (warning 1st element is at position 1) * return: NULL not found, !=NULL element */ -inline void *sarr_Get(sarr_t * __restrict arr, unsigned int idx); +void *sarr_Get(sarr_t * __restrict arr, unsigned int idx); /* * sarr_Get2() - Always get element from dynamic split-order array * Function automatic grow array. Good use for Hash tables! @@ -123,7 +123,7 @@ void *sarr_Get2(sarr_t * __restrict arr, unsigned int * @data = Value * return: NULL error or empty, !=NULL old value in element */ -inline void *sarr_Set(sarr_t * __restrict arr, unsigned int idx, void *data); +void *sarr_Set(sarr_t * __restrict arr, unsigned int idx, void *data); #define sarr_Del(_arr, _idx) sarr_Set((_arr), _idx, NULL) #define sarr(_arr, _idx, _type) ((_type) sarr_Get((_arr), _idx))