version 1.1, 2013/01/17 10:05:35
|
version 1.2, 2013/05/30 09:07:33
|
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; |