return;
}
- state->status = f_memory_array_increase(state->step_small, sizeof(f_range_t), (void **) &found->array, &found->used, &found->size);
- if (F_status_is_error(state->status)) return;
-
const f_number_unsigned_t begin = range->start;
- found->array[found->used].start = range->start;
for (;; ++range->start) {
if (F_status_is_error(state->status)) return;
+ state->status = f_memory_array_increase(found->size ? found->size == 1 ? 4 : state->step_small : 1, sizeof(f_range_t), (void **) &found->array, &found->used, &found->size);
+ if (F_status_is_error(state->status)) return;
+
if (range->start > begin) {
+ found->array[found->used].start = begin;
found->array[found->used++].stop = range->start - 1;
}
else {