// Load all remaining files as static strings (setting size to 0).
if (main->program.parameters.remaining.used) {
- main->setting.state.status = f_string_dynamics_increase_by(main->program.parameters.remaining.used, &main->setting.files);
+ main->setting.state.status = f_memory_array_increase_by(main->program.parameters.remaining.used, sizeof(uint32_t), (void **) &main->setting.files.array, &main->setting.files.used, &main->setting.files.size);
if (F_status_is_error(main->setting.state.status)) {
- kt_remove_print_error(&main->program.error, macro_kt_remove_f(f_string_dynamics_increase_by));
+ kt_remove_print_error(&main->program.error, macro_kt_remove_f(f_memory_array_increase_by));
return;
}
"f_file_remove",
"f_memory_array_increase_by",
"f_memory_array_resize",
- "f_string_dynamics_increase_by",
"f_thread_create",
"f_utf_is_digit",
"f_utf_is_whitespace",
kt_remove_f_f_file_remove_e,
kt_remove_f_f_memory_array_increase_by_e,
kt_remove_f_f_memory_array_resize_e,
- kt_remove_f_f_string_dynamics_increase_by_e,
kt_remove_f_f_thread_create_e,
kt_remove_f_f_utf_is_digit_e,
kt_remove_f_f_utf_is_whitespace_e,
if (!setting) return F_status_set_error(F_parameter);
- f_string_dynamic_resize(0, &setting->buffer);
- f_string_dynamics_resize(0, &setting->files);
+ f_memory_array_resize(0, sizeof(f_char_t), (void **) &setting->buffer.string, &setting->buffer.used, &setting->buffer.size);
+ f_memory_arrays_resize(0, sizeof(f_string_dynamic_t), (void **) &setting->files.array, &setting->files.used, &setting->files.size, &f_string_dynamics_delete_callback);
kt_remove_dates_resize(0, &setting->accessed);
kt_remove_dates_resize(0, &setting->changed);