Diff for /libelwix/src/array.c between versions 1.1.1.1 and 1.1.1.1.6.1

version 1.1.1.1, 2013/01/17 10:05:35 version 1.1.1.1.6.1, 2013/03/19 17:02:12
Line 374  array_Elem(array_t * __restrict arr, int n, void *data Line 374  array_Elem(array_t * __restrict arr, int n, void *data
  * return: -1 not found empty position, array is full!, >-1 return position of stored element into array   * return: -1 not found empty position, array is full!, >-1 return position of stored element into array
  */   */
 inline int  inline int
array_Push(array_t * __restrict arr, void **data, int nogrow)array_Push(array_t * __restrict arr, void *data, int nogrow)
 {  {
         int ret = -1;          int ret = -1;
   
Line 389  array_Push(array_t * __restrict arr, void **data, int  Line 389  array_Push(array_t * __restrict arr, void **data, int 
   
         ret = arr->arr_last++;          ret = arr->arr_last++;
         if (data)          if (data)
                arr->arr_data[arr->arr_last] = *data;                arr->arr_data[arr->arr_last] = data;
   
         return ret;          return ret;
 }  }

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.6.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>