With the macro_ being defined after f_, fl_, and fll_, it makes more sense to follow the same logic with programs.
For example, macro_iki_read_X() is now iki_read_macro_X().
This more accurately associates the macro with the program via styling practices.
controller_file_pid_delete(*data, setting.path_pid);
- macro_controller_setting_t_delete_simple(setting);
- macro_controller_entry_cache_t_delete_simple(cache_entry);
- macro_controller_rule_cache_t_delete_simple(cache_rule);
+ controller_macro_setting_t_delete_simple(setting);
+ controller_macro_entry_cache_t_delete_simple(cache_entry);
+ controller_macro_rule_cache_t_delete_simple(cache_rule);
controller_delete_data(data);
f_string_dynamics_t_initialize, \
}
- #define macro_controller_rule_action_t_delete_simple(action) \
+ #define controller_macro_rule_action_t_delete_simple(action) \
f_macro_string_dynamics_t_delete_simple(action.parameters)
#endif // _di_controller_rule_action_t_
0, \
}
- #define macro_controller_rule_actions_t_delete_simple(actions) \
+ #define controller_macro_rule_actions_t_delete_simple(actions) \
actions.used = actions.size; \
while (actions.used) { \
actions.used--; \
- macro_controller_rule_action_t_delete_simple(actions.array[actions.used]); \
+ controller_macro_rule_action_t_delete_simple(actions.array[actions.used]); \
} \
f_memory_delete((void **) & actions.array, sizeof(controller_rule_action_t), actions.size); \
actions.size = 0;
controller_rule_actions_t_initialize, \
}
- #define macro_controller_rule_item_t_delete_simple(item) \
- macro_controller_rule_actions_t_delete_simple(item.actions)
+ #define controller_macro_rule_item_t_delete_simple(item) \
+ controller_macro_rule_actions_t_delete_simple(item.actions)
#endif // _di_controller_rule_item_t_
#ifndef _di_controller_rule_items_t_
0, \
}
- #define macro_controller_rule_items_t_delete_simple(items) \
+ #define controller_macro_rule_items_t_delete_simple(items) \
items.used = items.size; \
while (items.used) { \
items.used--; \
- macro_controller_rule_item_t_delete_simple(items.array[items.used]); \
+ controller_macro_rule_item_t_delete_simple(items.array[items.used]); \
} \
f_memory_delete((void **) & items.array, sizeof(controller_rule_item_t), items.size); \
items.size = 0;
controller_rule_items_initialize, \
}
- #define macro_controller_rule_t_delete_simple(rule) \
+ #define controller_macro_rule_t_delete_simple(rule) \
f_macro_string_dynamic_t_delete_simple(rule.id) \
f_macro_string_dynamic_t_delete_simple(rule.name) \
f_macro_string_dynamic_t_delete_simple(rule.control_group) \
f_macro_string_dynamics_t_delete_simple(rule.need) \
f_macro_string_dynamics_t_delete_simple(rule.want) \
f_macro_string_dynamics_t_delete_simple(rule.wish) \
- macro_controller_rule_items_t_delete_simple(rule.items)
+ controller_macro_rule_items_t_delete_simple(rule.items)
#endif // _di_controller_rule_t_
#ifndef _di_controller_rules_t_
0, \
}
- #define macro_controller_rules_t_delete_simple(rules) \
+ #define controller_macro_rules_t_delete_simple(rules) \
rules.used = rules.size; \
while (rules.used) { \
rules.used--; \
- macro_controller_rule_t_delete_simple(rules.array[rules.used]); \
+ controller_macro_rule_t_delete_simple(rules.array[rules.used]); \
} \
f_memory_delete((void **) & rules.array, sizeof(controller_rule_t), rules.size); \
rules.size = 0;
f_string_dynamics_t_initialize, \
}
- #define macro_controller_entry_action_t_delete_simple(action) \
+ #define controller_macro_entry_action_t_delete_simple(action) \
f_macro_string_dynamics_t_delete_simple(action.parameters)
#endif // _di_controller_entry_action_t_
0, \
}
- #define macro_controller_entry_actions_t_delete_simple(actions) \
+ #define controller_macro_entry_actions_t_delete_simple(actions) \
actions.used = actions.size; \
while (actions.used) { \
actions.used--; \
- macro_controller_entry_action_t_delete_simple(actions.array[actions.used]); \
+ controller_macro_entry_action_t_delete_simple(actions.array[actions.used]); \
} \
f_memory_delete((void **) & actions.array, sizeof(controller_entry_action_t), actions.size); \
actions.size = 0;
controller_entry_actions_t_initialize, \
}
- #define macro_controller_entry_item_t_delete_simple(item) \
+ #define controller_macro_entry_item_t_delete_simple(item) \
f_macro_string_dynamic_t_delete_simple(item.name) \
- macro_controller_entry_actions_t_delete_simple(item.actions)
+ controller_macro_entry_actions_t_delete_simple(item.actions)
#endif // _di_controller_entry_item_t_
#ifndef _di_controller_entry_items_t_
0, \
}
- #define macro_controller_entry_items_t_delete_simple(items) \
+ #define controller_macro_entry_items_t_delete_simple(items) \
items.used = items.size; \
while (items.used) { \
items.used--; \
- macro_controller_entry_item_t_delete_simple(items.array[items.used]); \
+ controller_macro_entry_item_t_delete_simple(items.array[items.used]); \
} \
f_memory_delete((void **) & items.array, sizeof(controller_entry_item_t), items.size); \
items.size = 0;
controller_entry_items_t_initialize, \
}
- #define macro_controller_entry_t_delete_simple(entry) \
- macro_controller_entry_items_t_delete_simple(entry.items)
+ #define controller_macro_entry_t_delete_simple(entry) \
+ controller_macro_entry_items_t_delete_simple(entry.items)
#endif // _di_controller_entry_t_
#ifndef _di_controller_setting_t
controller_rules_t_initialize, \
}
- #define macro_controller_setting_t_delete_simple(setting) \
+ #define controller_macro_setting_t_delete_simple(setting) \
f_macro_string_dynamic_t_delete_simple(setting.path_pid) \
f_macro_string_dynamic_t_delete_simple(setting.path_setting) \
- macro_controller_entry_t_delete_simple(setting.entry) \
- macro_controller_rules_t_delete_simple(setting.rules)
+ controller_macro_entry_t_delete_simple(setting.entry) \
+ controller_macro_rules_t_delete_simple(setting.rules)
#endif // _di_controller_setting_t
/**
f_string_dynamic_t_initialize, \
}
- #define macro_controller_entry_cache_t_delete_simple(cache) \
+ #define controller_macro_entry_cache_t_delete_simple(cache) \
f_macro_fss_comments_t_delete_simple(cache.comments) \
f_macro_fss_delimits_t_delete_simple(cache.delimits) \
f_macro_fss_content_t_delete_simple(cache.content_action) \
f_string_dynamic_t_initialize, \
}
- #define macro_controller_rule_cache_t_delete_simple(cache) \
+ #define controller_macro_rule_cache_t_delete_simple(cache) \
f_macro_fss_comments_t_delete_simple(cache.comments) \
f_macro_fss_delimits_t_delete_simple(cache.delimits) \
f_macro_fss_content_t_delete_simple(cache.content_action) \
// This standard does not support nesting, so any depth greater than 0 can be predicted without processing the file.
if (F_status_is_error_not(status) && depths.array[0].depth > 0) {
- macro_fss_basic_list_read_depths_t_delete_simple(depths);
+ fss_basic_list_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(delimits);
f_macro_fss_comments_t_delete_simple(comments);
}
}
- macro_fss_basic_list_read_depths_t_delete_simple(depths);
+ fss_basic_list_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(delimits);
f_macro_fss_comments_t_delete_simple(comments);
}
depth_size = data.parameters[fss_basic_list_read_parameter_depth].values.used;
}
- macro_fss_basic_list_read_depths_t_new(status, (*depths), depth_size);
+ fss_basic_list_read_macro_depths_t_new(status, (*depths), depth_size);
if (F_status_is_error(status)) {
fl_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol[0]);
f_string_dynamic_t_initialize, \
}
- #define macro_fss_basic_list_read_depth_t_clear(structure) \
+ #define fss_basic_list_read_macro_depth_t_clear(structure) \
structure.depth = 0; \
structure.index_at = 0; \
structure.index_name = 0; \
structure.value_at = 0; \
f_macro_string_dynamic_t_clear(structure.value_name)
- #define macro_fss_basic_list_read_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
- #define macro_fss_basic_list_read_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
+ #define fss_basic_list_read_macro_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
+ #define fss_basic_list_read_macro_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
- #define macro_fss_basic_list_read_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
- #define macro_fss_basic_list_read_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
+ #define fss_basic_list_read_macro_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
+ #define fss_basic_list_read_macro_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
#endif // _di_fss_basic_list_read_depth_t_
/**
#define fss_basic_list_read_depths_t_initialize { 0, 0, 0 }
- #define macro_fss_basic_list_read_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
+ #define fss_basic_list_read_macro_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
- #define macro_fss_basic_list_read_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_basic_list_read_depth_t, length)
+ #define fss_basic_list_read_macro_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_basic_list_read_depth_t, length)
- #define macro_fss_basic_list_read_depths_t_delete(status, depths) \
+ #define fss_basic_list_read_macro_depths_t_delete(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_list_read_depth_t_delete(status, depths.array[depths.used]); \
+ fss_basic_list_read_macro_depth_t_delete(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_delete(depths, fss_basic_list_read_depth_t)
- #define macro_fss_basic_list_read_depths_t_destroy(status, depths) \
+ #define fss_basic_list_read_macro_depths_t_destroy(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_list_read_depth_t_destroy(status, depths.array[depths.used]); \
+ fss_basic_list_read_macro_depth_t_destroy(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_destroy(depths, fss_basic_list_read_depth_t)
- #define macro_fss_basic_list_read_depths_t_delete_simple(depths) \
+ #define fss_basic_list_read_macro_depths_t_delete_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_list_read_depth_t_delete_simple(depths.array[depths.used]); \
+ fss_basic_list_read_macro_depth_t_delete_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_delete_simple(depths, fss_basic_list_read_depth_t)
- #define macro_fss_basic_list_read_depths_t_destroy_simple(depths) \
+ #define fss_basic_list_read_macro_depths_t_destroy_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_list_read_depth_t_destroy_simple(depths.array[depths.used]); \
+ fss_basic_list_read_macro_depth_t_destroy_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_destroy_simple(depths, fss_basic_list_read_depth_t)
- #define macro_fss_basic_list_read_depths_t_resize(status, depths, new_length) \
+ #define fss_basic_list_read_macro_depths_t_resize(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_basic_list_read_depth_t_delete(status, depths.array[i]); \
+ fss_basic_list_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
if (depths.used > depths.size) depths.used = new_length; \
}
- #define macro_fss_basic_list_read_depths_t_adjust(status, depths, new_length) \
+ #define fss_basic_list_read_macro_depths_t_adjust(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_basic_list_read_depth_t_delete(status, depths.array[i]); \
+ fss_basic_list_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
// This standard does not support nesting, so any depth greater than 0 can be predicted without processing the file.
if (F_status_is_error_not(status) && depths.array[0].depth > 0) {
- macro_fss_basic_read_depths_t_delete_simple(depths);
+ fss_basic_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(delimits);
if (data->parameters[fss_basic_read_parameter_total].result == f_console_result_found) {
fl_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable, fss_basic_read_long_select);
fl_color_print(data->error.to.stream, data->context.set.error, "' parameter requires a positive number.%c", f_string_eol[0]);
- macro_fss_basic_read_depths_t_delete_simple(depths);
+ fss_basic_read_macro_depths_t_delete_simple(depths);
status = F_status_set_error(F_parameter);
}
}
}
- macro_fss_basic_read_depths_t_delete_simple(depths);
+ fss_basic_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(delimits);
}
else {
depth_size = data.parameters[fss_basic_read_parameter_depth].values.used;
}
- macro_fss_basic_read_depths_t_new(status, (*depths), depth_size);
+ fss_basic_read_macro_depths_t_new(status, (*depths), depth_size);
if (F_status_is_error(status)) {
fl_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol[0]);
f_string_dynamic_t_initialize, \
}
- #define macro_fss_basic_read_depth_t_clear(structure) \
+ #define fss_basic_read_macro_depth_t_clear(structure) \
structure.depth = 0; \
structure.index_at = 0; \
structure.index_name = 0; \
structure.value_at = 0; \
f_macro_string_dynamic_t_clear(structure.value_name)
- #define macro_fss_basic_read_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
- #define macro_fss_basic_read_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
+ #define fss_basic_read_macro_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
+ #define fss_basic_read_macro_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
- #define macro_fss_basic_read_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
- #define macro_fss_basic_read_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
+ #define fss_basic_read_macro_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
+ #define fss_basic_read_macro_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
#endif // _di_fss_basic_read_depth_t_
/**
#define fss_basic_read_depths_t_initialize { 0, 0, 0 }
- #define macro_fss_basic_read_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
+ #define fss_basic_read_macro_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
- #define macro_fss_basic_read_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_basic_read_depth_t, length)
+ #define fss_basic_read_macro_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_basic_read_depth_t, length)
- #define macro_fss_basic_read_depths_t_delete(status, depths) \
+ #define fss_basic_read_macro_depths_t_delete(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_read_depth_t_delete(status, depths.array[depths.used]); \
+ fss_basic_read_macro_depth_t_delete(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_delete(depths, fss_basic_read_depth_t)
- #define macro_fss_basic_read_depths_t_destroy(status, depths) \
+ #define fss_basic_read_macro_depths_t_destroy(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_read_depth_t_destroy(status, depths.array[depths.used]); \
+ fss_basic_read_macro_depth_t_destroy(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_destroy(depths, fss_basic_read_depth_t)
- #define macro_fss_basic_read_depths_t_delete_simple(depths) \
+ #define fss_basic_read_macro_depths_t_delete_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_read_depth_t_delete_simple(depths.array[depths.used]); \
+ fss_basic_read_macro_depth_t_delete_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_delete_simple(depths, fss_basic_read_depth_t)
- #define macro_fss_basic_read_depths_t_destroy_simple(depths) \
+ #define fss_basic_read_macro_depths_t_destroy_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_basic_read_depth_t_destroy_simple(depths.array[depths.used]); \
+ fss_basic_read_macro_depth_t_destroy_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_destroy_simple(depths, fss_basic_read_depth_t)
- #define macro_fss_basic_read_depths_t_resize(status, depths, new_length) \
+ #define fss_basic_read_macro_depths_t_resize(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_basic_read_depth_t_delete(status, depths.array[i]); \
+ fss_basic_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
if (depths.used > depths.size) depths.used = new_length; \
}
- #define macro_fss_basic_read_depths_t_adjust(status, depths, new_length) \
+ #define fss_basic_read_macro_depths_t_adjust(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_basic_read_depth_t_delete(status, depths.array[i]); \
+ fss_basic_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
}
}
- macro_fss_embedded_list_read_depths_t_delete_simple(depths);
+ fss_embedded_list_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(objects_delimits);
f_macro_fss_delimits_t_delete_simple(contents_delimits);
f_macro_fss_comments_t_delete_simple(comments);
i = data.parameters[fss_embedded_list_read_parameter_depth].values.used + 1;
}
- macro_fss_embedded_list_read_depths_t_new(status, (*depths), i);
+ fss_embedded_list_read_macro_depths_t_new(status, (*depths), i);
if (F_status_is_error(status)) {
fll_error_print(data.error, F_status_set_fine(status), "fss_embedded_list_read_main_preprocess_depth", F_true);
f_string_dynamic_t_initialize, \
}
- #define macro_fss_embedded_list_read_depth_t_clear(structure) \
+ #define fss_embedded_list_read_macro_depth_t_clear(structure) \
structure.depth = 0; \
structure.index_at = 0; \
structure.index_name = 0; \
structure.value_at = 0; \
f_macro_string_dynamic_t_clear(structure.value_name)
- #define macro_fss_embedded_list_read_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
- #define macro_fss_embedded_list_read_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
+ #define fss_embedded_list_read_macro_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
+ #define fss_embedded_list_read_macro_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
- #define macro_fss_embedded_list_read_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
- #define macro_fss_embedded_list_read_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
+ #define fss_embedded_list_read_macro_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
+ #define fss_embedded_list_read_macro_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
#endif // _di_fss_embedded_list_read_depth_t_
/**
0, \
}
- #define macro_fss_embedded_list_read_skip_t_initialize(skip, used) \
+ #define fss_embedded_list_read_macro_skip_t_initialize(skip, used) \
{ \
skip, \
used, \
#define fss_embedded_list_read_depths_t_initialize { 0, 0, 0 }
- #define macro_fss_embedded_list_read_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
+ #define fss_embedded_list_read_macro_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
- #define macro_fss_embedded_list_read_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_embedded_list_read_depth_t, length)
+ #define fss_embedded_list_read_macro_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_embedded_list_read_depth_t, length)
- #define macro_fss_embedded_list_read_depths_t_delete(status, depths) \
+ #define fss_embedded_list_read_macro_depths_t_delete(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_embedded_list_read_depth_t_delete(status, depths.array[depths.used]); \
+ fss_embedded_list_read_macro_depth_t_delete(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_delete(depths, fss_embedded_list_read_depth_t)
- #define macro_fss_embedded_list_read_depths_t_destroy(status, depths) \
+ #define fss_embedded_list_read_macro_depths_t_destroy(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_embedded_list_read_depth_t_destroy(status, depths.array[depths.used]); \
+ fss_embedded_list_read_macro_depth_t_destroy(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_destroy(depths, fss_embedded_list_read_depth_t)
- #define macro_fss_embedded_list_read_depths_t_delete_simple(depths) \
+ #define fss_embedded_list_read_macro_depths_t_delete_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_embedded_list_read_depth_t_delete_simple(depths.array[depths.used]); \
+ fss_embedded_list_read_macro_depth_t_delete_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_delete_simple(depths, fss_embedded_list_read_depth_t)
- #define macro_fss_embedded_list_read_depths_t_destroy_simple(depths) \
+ #define fss_embedded_list_read_macro_depths_t_destroy_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_embedded_list_read_depth_t_destroy_simple(depths.array[depths.used]); \
+ fss_embedded_list_read_macro_depth_t_destroy_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_destroy_simple(depths, fss_embedded_list_read_depth_t)
- #define macro_fss_embedded_list_read_t_depths_resize(status, depths, new_length) \
+ #define fss_embedded_list_read_macro_depths_t_resize(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_embedded_list_read_depth_t_delete(status, depths.array[i]); \
+ fss_embedded_list_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
if (depths.used > depths.size) depths.used = new_length; \
}
- #define macro_fss_embedded_list_read_depths_t_adjust(status, depths, new_length) \
+ #define fss_embedded_list_read_macro_depths_t_adjust(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_embedded_list_read_depth_t_delete(status, depths.array[i]); \
+ fss_embedded_list_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
// This standard does not support nesting, so any depth greater than 0 can be predicted without processing the file.
if (F_status_is_error_not(status) && depths.array[0].depth > 0) {
- macro_fss_extended_list_read_depths_t_delete_simple(depths);
+ fss_extended_list_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(delimits);
f_macro_fss_comments_t_delete_simple(comments);
}
}
- macro_fss_extended_list_read_depths_t_delete_simple(depths);
+ fss_extended_list_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(delimits);
f_macro_fss_comments_t_delete_simple(comments);
}
depth_size = data.parameters[fss_extended_list_read_parameter_depth].values.used;
}
- macro_fss_extended_list_read_depths_t_new(status, (*depths), depth_size);
+ fss_extended_list_read_macro_depths_t_new(status, (*depths), depth_size);
if (F_status_is_error(status)) {
fl_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol[0]);
f_string_dynamic_t_initialize, \
}
- #define macro_fss_extended_list_read_depth_t_clear(structure) \
+ #define fss_extended_list_read_macro_depth_t_clear(structure) \
structure.depth = 0; \
structure.index_at = 0; \
structure.index_name = 0; \
structure.value_at = 0; \
f_macro_string_dynamic_t_clear(structure.value_name)
- #define macro_fss_extended_list_read_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
- #define macro_fss_extended_list_read_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
+ #define fss_extended_list_read_macro_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
+ #define fss_extended_list_read_macro_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
- #define macro_fss_extended_list_read_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
- #define macro_fss_extended_list_read_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
+ #define fss_extended_list_read_macro_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
+ #define fss_extended_list_read_macro_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
#endif // _di_fss_extended_list_read_depth_t_
/**
#define fss_extended_list_read_depths_t_initialize { 0, 0, 0 }
- #define macro_fss_extended_list_read_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
+ #define fss_extended_list_read_macro_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
- #define macro_fss_extended_list_read_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_extended_list_read_depth_t, length)
+ #define fss_extended_list_read_macro_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_extended_list_read_depth_t, length)
- #define macro_fss_extended_list_read_depths_t_delete(status, depths) \
+ #define fss_extended_list_read_macro_depths_t_delete(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_list_read_depth_t_delete(status, depths.array[depths.used]); \
+ fss_extended_list_read_macro_depth_t_delete(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_delete(depths, fss_extended_list_read_depth_t)
- #define macro_fss_extended_list_read_depths_t_destroy(status, depths) \
+ #define fss_extended_list_read_macro_depths_t_destroy(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_list_read_depth_t_destroy(status, depths.array[depths.used]); \
+ fss_extended_list_read_macro_depth_t_destroy(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_destroy(depths, fss_extended_list_read_depth_t)
- #define macro_fss_extended_list_read_depths_t_delete_simple(depths) \
+ #define fss_extended_list_read_macro_depths_t_delete_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_list_read_depth_t_delete_simple(depths.array[depths.used]); \
+ fss_extended_list_read_macro_depth_t_delete_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_delete_simple(depths, fss_extended_list_read_depth_t)
- #define macro_fss_extended_list_read_depths_t_destroy_simple(depths) \
+ #define fss_extended_list_read_macro_depths_t_destroy_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_list_read_depth_t_destroy_simple(depths.array[depths.used]); \
+ fss_extended_list_read_macro_depth_t_destroy_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_destroy_simple(depths, fss_extended_list_read_depth_t)
- #define macro_fss_extended_list_read_depths_t_resize(status, depths, new_length) \
+ #define fss_extended_list_read_macro_depths_t_resize(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_extended_list_read_depth_t_delete(status, depths.array[i]); \
+ fss_extended_list_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
if (depths.used > depths.size) depths.used = new_length; \
}
- #define macro_fss_extended_list_read_depths_t_adjust(status, depths, new_length) \
+ #define fss_extended_list_read_macro_depths_t_adjust(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_extended_list_read_depth_t_delete(status, depths.array[i]); \
+ fss_extended_list_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
// This standard does not support nesting, so any depth greater than 0 can be predicted without processing the file.
if (F_status_is_error_not(status) && depths.array[0].depth > 0) {
- macro_fss_extended_read_depths_t_delete_simple(depths);
+ fss_extended_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(objects_delimits);
f_macro_fss_delimits_t_delete_simple(contents_delimits);
}
}
- macro_fss_extended_read_depths_t_delete_simple(depths);
+ fss_extended_read_macro_depths_t_delete_simple(depths);
f_macro_fss_delimits_t_delete_simple(objects_delimits);
f_macro_fss_delimits_t_delete_simple(contents_delimits);
}
depth_size = data.parameters[fss_extended_read_parameter_depth].values.used;
}
- macro_fss_extended_read_depths_t_new(status, (*depths), depth_size);
+ fss_extended_read_macro_depths_t_new(status, (*depths), depth_size);
if (F_status_is_error(status)) {
fl_color_print(data.error.to.stream, data.context.set.error, "%sUnable to allocate memory.%c", fll_error_print_error, f_string_eol[0]);
f_string_dynamic_t_initialize, \
}
- #define macro_fss_extended_read_depth_t_clear(structure) \
+ #define fss_extended_read_macro_depth_t_clear(structure) \
structure.depth = 0; \
structure.index_at = 0; \
structure.index_name = 0; \
structure.value_at = 0; \
f_macro_string_dynamic_t_clear(structure.value_name)
- #define macro_fss_extended_read_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
- #define macro_fss_extended_read_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
+ #define fss_extended_read_macro_depth_t_delete(status, structure) f_macro_string_dynamic_t_delete(status, structure.value_name)
+ #define fss_extended_read_macro_depth_t_destroy(status, structure) f_macro_string_dynamic_t_destroy(status, structure.value_name)
- #define macro_fss_extended_read_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
- #define macro_fss_extended_read_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
+ #define fss_extended_read_macro_depth_t_delete_simple(structure) f_macro_string_dynamic_t_delete_simple(structure.value_name)
+ #define fss_extended_read_macro_depth_t_destroy_simple(structure) f_macro_string_dynamic_t_destroy_simple(structure.value_name)
#endif // _di_fss_extended_read_depth_t_
/**
#define fss_extended_read_depths_t_initialize { 0, 0, 0 }
- #define macro_fss_extended_read_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
+ #define fss_extended_read_macro_depths_t_clear(depths) f_macro_memory_structure_t_clear(depths)
- #define macro_fss_extended_read_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_extended_read_depth_t, length)
+ #define fss_extended_read_macro_depths_t_new(status, depths, length) f_macro_memory_structure_t_new(status, depths, fss_extended_read_depth_t, length)
- #define macro_fss_extended_read_depths_t_delete(status, depths) \
+ #define fss_extended_read_macro_depths_t_delete(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_read_depth_t_delete(status, depths.array[depths.used]); \
+ fss_extended_read_macro_depth_t_delete(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_delete(depths, fss_extended_read_depth_t)
- #define macro_fss_extended_read_depths_t_destroy(status, depths) \
+ #define fss_extended_read_macro_depths_t_destroy(status, depths) \
status = F_none; \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_read_depth_t_destroy(status, depths.array[depths.used]); \
+ fss_extended_read_macro_depth_t_destroy(status, depths.array[depths.used]); \
if (status != F_none) break; \
} \
if (status == F_none) f_macro_memory_structure_t_destroy(depths, fss_extended_read_depth_t)
- #define macro_fss_extended_read_depths_t_delete_simple(depths) \
+ #define fss_extended_read_macro_depths_t_delete_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_read_depth_t_delete_simple(depths.array[depths.used]); \
+ fss_extended_read_macro_depth_t_delete_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_delete_simple(depths, fss_extended_read_depth_t)
- #define macro_fss_extended_read_depths_t_destroy_simple(depths) \
+ #define fss_extended_read_macro_depths_t_destroy_simple(depths) \
depths.used = depths.size; \
while (depths.used > 0) { \
depths.used--; \
- macro_fss_extended_read_depth_t_destroy_simple(depths.array[depths.used]); \
+ fss_extended_read_macro_depth_t_destroy_simple(depths.array[depths.used]); \
} \
if (!depths.used) f_macro_memory_structure_t_destroy_simple(depths, fss_extended_read_depth_t)
- #define macro_fss_extended_read_depths_t_resize(status, depths, new_length) \
+ #define fss_extended_read_macro_depths_t_resize(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_extended_read_depth_t_delete(status, depths.array[i]); \
+ fss_extended_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
if (depths.used > depths.size) depths.used = new_length; \
}
- #define macro_fss_extended_read_depths_t_adjust(status, depths, new_length) \
+ #define fss_extended_read_macro_depths_t_adjust(status, depths, new_length) \
status = F_none; \
if (new_length < depths.size) { \
f_array_length_t i = depths.size - new_length; \
for (; i < depths.size; i++) { \
- macro_fss_extended_read_depth_t_delete(status, depths.array[i]); \
+ fss_extended_read_macro_depth_t_delete(status, depths.array[i]); \
if (status != F_none) break; \
} \
} \
f_string_static_t_initialize, \
}
- #define macro_iki_read_substitution_t_initialize(replace, with) \
+ #define iki_read_macro_substitution_t_initialize(replace, with) \
{ \
f_macro_string_static_t_initialize(replace), \
f_macro_string_static_t_initialize(with), \
#define iki_read_substitutions_t_initialize {0, 0, 0}
- #define macro_iki_read_substitutions_t_clear(replacements) f_macro_memory_structure_t_clear(replacements)
+ #define iki_read_macro_substitutions_t_clear(replacements) f_macro_memory_structure_t_clear(replacements)
- #define macro_iki_read_substitutions_t_new(status, replacements, length) f_macro_memory_structure_t_new(status, replacements, iki_read_substitution_t, length)
+ #define iki_read_macro_substitutions_t_new(status, replacements, length) f_macro_memory_structure_t_new(status, replacements, iki_read_substitution_t, length)
- #define macro_iki_read_substitutions_t_delete_simple(replacements) \
+ #define iki_read_macro_substitutions_t_delete_simple(replacements) \
replacements.used = replacements.size; \
while (replacements.used > 0) { \
replacements.used--; \
} \
if (!replacements.used) f_macro_memory_structure_t_delete_simple(replacements, iki_read_substitution_t)
- #define macro_iki_read_substitutions_t_destroy_simple(replacements) \
+ #define iki_read_macro_substitutions_t_destroy_simple(replacements) \
replacements.used = replacements.size; \
while (replacements.used > 0) { \
replacements.used--; \
} \
if (!replacements.used) f_macro_memory_structure_t_destroy_simple(replacements, iki_read_substitution_t)
- #define macro_iki_read_substitutions_t_resize(status, replacements, new_length) \
+ #define iki_read_macro_substitutions_t_resize(status, replacements, new_length) \
status = F_none; \
if (new_length < replacements.size) { \
f_array_length_t i = replacements.size - new_length; \
if (replacements.used > replacements.size) replacements.used = new_length; \
}
- #define macro_iki_read_substitutions_t_adjust(status, replacements, new_length) \
+ #define iki_read_macro_substitutions_t_adjust(status, replacements, new_length) \
status = F_none; \
if (new_length < replacements.size) { \
f_array_length_t i = replacements.size - new_length; \
fll_error_print(data->error, F_status_set_fine(status), "iki_read_substitutions_identify", F_true);
for (f_array_length_t i = 0; i < variable->used; i++) {
- macro_iki_read_substitutions_t_delete_simple(substitutionss[i]);
+ iki_read_macro_substitutions_t_delete_simple(substitutionss[i]);
} // for
return status;
fll_error_print(data->error, F_status_set_fine(status), "fl_string_append_nulless", F_true);
for (f_array_length_t i = 0; i < variable->used; i++) {
- macro_iki_read_substitutions_t_delete_simple(substitutionss[i]);
+ iki_read_macro_substitutions_t_delete_simple(substitutionss[i]);
} // for
f_macro_string_dynamic_t_delete_simple(name);
}
for (f_array_length_t i = 0; i < variable->used; i++) {
- macro_iki_read_substitutions_t_delete_simple(substitutionss[i]);
+ iki_read_macro_substitutions_t_delete_simple(substitutionss[i]);
} // for
return status;
fll_error_print(data->error, F_status_set_fine(status), "iki_read_substitutions_identify", F_true);
for (f_array_length_t i = 0; i < variable->used; i++) {
- macro_iki_read_substitutions_t_delete_simple(substitutionss[i]);
+ iki_read_macro_substitutions_t_delete_simple(substitutionss[i]);
} // for
return status;
if (F_status_is_error(status)) {
for (i = 0; i < variable->used; i++) {
- macro_iki_read_substitutions_t_delete_simple(substitutionss[i]);
+ iki_read_macro_substitutions_t_delete_simple(substitutionss[i]);
} // for
f_macro_string_dynamics_t_delete_simple(names);
}
for (f_array_length_t i = 0; i < variable->used; i++) {
- macro_iki_read_substitutions_t_delete_simple(substitutionss[i]);
+ iki_read_macro_substitutions_t_delete_simple(substitutionss[i]);
} // for
f_macro_string_dynamics_t_delete_simple(names);
status = fl_string_compare(arguments.argv[index], data->buffer.string + vocabulary->array[j].start, length, (vocabulary->array[j].stop - vocabulary->array[j].start) + 1);
if (status == F_equal_to) {
- f_macro_memory_structure_macro_increment(status, substitutionss[j], 1, f_iki_default_allocation_step, macro_iki_read_substitutions_t_resize, F_array_too_large);
+ f_macro_memory_structure_macro_increment(status, substitutionss[j], 1, f_iki_default_allocation_step, iki_read_macro_substitutions_t_resize, F_array_too_large);
if (F_status_is_error(status)) return status;
index = parameter->values.array[i + 1];