version 1.7.2.3, 2012/05/18 12:45:34
|
version 1.7.2.4, 2012/05/18 13:37:48
|
Line 510 io_getVars(array_t ** __restrict vars, int n)
|
Line 510 io_getVars(array_t ** __restrict vars, int n)
|
if (!(*vars = io_arrayInit(n + 1))) |
if (!(*vars = io_arrayInit(n + 1))) |
return NULL; |
return NULL; |
} else { |
} else { |
if (n >= io_arraySize(*vars) && io_arrayGrow(*vars, n + 1, 0)) | if (n >= io_arraySize(*vars)) { |
return NULL; | if (io_arrayGrow(*vars, n + 1, 0)) |
| return NULL; |
| if ((v = io_allocVar())) |
| return NULL; |
| else |
| io_arraySet(*vars, n, v); |
| return v; |
| } |
} |
} |
|
|
if ((v = io_allocVar())) | return io_array(*vars, n, ait_val_t*); |
return NULL; | |
else | |
io_arraySet(*vars, n, v); | |
| |
return v; | |
} |
} |
|
|
/* |
/* |