|
version 1.17.4.6, 2012/05/18 09:19:53
|
version 1.17.4.9, 2012/05/19 00:07:07
|
|
Line 173 typedef struct {
|
Line 173 typedef struct {
|
| else \ |
else \ |
| memset(__val->val.buffer, 0, _len); \ |
memset(__val->val.buffer, 0, _len); \ |
| } } while (0) |
} } while (0) |
| #define AIT_SET_STR(_vl, _v) do { ait_val_t *__val = (_vl); assert(__val && (_v)); \ | #define AIT_SET_STR(_vl, _v) do { ait_val_t *__val = (_vl); assert(__val); \ |
| __val->val.string = (int8_t*) strdup((_v)); \ |
__val->val.string = (int8_t*) strdup((_v)); \ |
| if (__val->val.string) { \ |
if (__val->val.string) { \ |
| __val->val_type = string; \ |
__val->val_type = string; \ |
|
Line 417 inline void io_freeVars(array_t ** __restrict vars);
|
Line 417 inline void io_freeVars(array_t ** __restrict vars);
|
| * @n = index of variable into array |
* @n = index of variable into array |
| * return: NULL error or !=NULL ait_val_t element |
* return: NULL error or !=NULL ait_val_t element |
| */ |
*/ |
| inline ait_val_t *io_getVars(array_t * __restrict vars, int n); | inline ait_val_t *io_getVars(array_t ** __restrict vars, int n); |
| /* |
/* |
| * io_sortVars() - Sorting array with variables |
* io_sortVars() - Sorting array with variables |
| * |
* |
|
Line 655 int io_arrayVacuum(array_t * __restrict arr, int fromW
|
Line 655 int io_arrayVacuum(array_t * __restrict arr, int fromW
|
| if (_fri && (_arr)->arr_data[_d]) \ |
if (_fri && (_arr)->arr_data[_d]) \ |
| free((_arr)->arr_data[_d]); \ |
free((_arr)->arr_data[_d]); \ |
| (_arr)->arr_data[_d] = NULL; \ |
(_arr)->arr_data[_d] = NULL; \ |
| } while (0) |
|
| #define io_arraySyncLast(_arr) do { \ |
|
| assert((_arr)); \ |
|
| (_arr)->arr_last = io_arrayLen((_arr)); \ |
|
| } while (0) |
} while (0) |
| |
|
| /* |
/* |