Diff for /libelwix/src/sarray.c between versions 1.1 and 1.3

version 1.1, 2013/01/17 10:05:35 version 1.3, 2014/01/29 14:16:54
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013Copyright 2004 - 2014
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 202  sarr_Grow(sarr_t * __restrict arr, int newNumItems) Line 202  sarr_Grow(sarr_t * __restrict arr, int newNumItems)
  * @idx = Index (warning 1st element is at position 1)   * @idx = Index (warning 1st element is at position 1)
  * return: NULL not found, !=NULL element   * return: NULL not found, !=NULL element
  */   */
inline void *void *
 sarr_Get(sarr_t * __restrict arr, u_int idx)  sarr_Get(sarr_t * __restrict arr, u_int idx)
 {  {
         void *ret = NULL;          void *ret = NULL;
Line 245  sarr_Get2(sarr_t * __restrict arr, u_int idx) Line 245  sarr_Get2(sarr_t * __restrict arr, u_int idx)
  * @data = Value   * @data = Value
  * return: NULL error or empty, !=NULL old value in element   * return: NULL error or empty, !=NULL old value in element
  */   */
inline void *void *
 sarr_Set(sarr_t * __restrict arr, u_int idx, void *data)  sarr_Set(sarr_t * __restrict arr, u_int idx, void *data)
 {  {
         void *ret = NULL;          void *ret = NULL;

Removed from v.1.1  
changed lines
  Added in v.1.3


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