#ifndef _di_fl_directory_path_pop_
f_return_status fl_directory_path_pop(f_string_static_t *path) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_1_parameter_checking_
if (path->used > path->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_1_parameter_checking_
if (!path->used) {
return F_data_not;
#ifndef _di_fl_directory_path_push_
f_return_status fl_directory_path_push(const f_string_t source, f_string_length_t length, f_string_dynamic_t *destination) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_1_parameter_checking_
if (!source) return F_status_set_error(F_parameter);
if (destination->used > destination->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_1_parameter_checking_
if (!length) {
return F_data_not;
#ifndef _di_fl_directory_path_push_dynamic_
f_return_status fl_directory_path_push_dynamic(const f_string_static_t source, f_string_dynamic_t *destination) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_1_parameter_checking_
if (source.used > source.size) return F_status_set_error(F_parameter);
if (destination->used > destination->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_1_parameter_checking_
if (!source.used) {
return F_data_not;
#ifndef _di_fll_fss_embedded_list_read_
f_return_status fll_fss_embedded_list_read(const f_string_static_t buffer, f_string_range_t *range, f_fss_nest_t *nest, f_fss_delimits_t *objects_delimits, f_fss_delimits_t *contents_delimits, f_fss_comments_t *comments) {
- #ifndef _di_level_3_parameter_checking_
+ #ifndef _di_level_2_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (!nest) return F_status_set_error(F_parameter);
if (!objects_delimits) return F_status_set_error(F_parameter);
if (!comments) return F_status_set_error(F_parameter);
- #endif // _di_level_3_parameter_checking_
+ #endif // _di_level_2_parameter_checking_
f_status_t status = F_none;
f_status_t status2 = F_none;
#ifndef _di_fll_iki_content_escape_
f_return_status fll_iki_content_escape(const f_string_static_t content, const uint8_t quote, f_string_dynamic_t *escaped) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_2_parameter_checking_
if (content.used > content.size) return F_status_set_error(F_parameter);
if (quote != f_iki_syntax_quote_single && quote != f_iki_syntax_quote_double) return F_status_set_error(F_parameter);
if (escaped->used > escaped->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_2_parameter_checking_
const f_string_range_t range = f_macro_string_range_t_initialize(content.used);
#ifndef _di_fll_iki_content_partial_escape_
f_return_status fll_iki_content_partial_escape(const f_string_static_t content, const f_string_range_t range, const uint8_t quote, f_string_dynamic_t *escaped) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_2_parameter_checking_
if (content.used > content.size) return F_status_set_error(F_parameter);
if (range.start > range.stop) return F_status_set_error(F_parameter);
if (range.start >= content.used) return F_status_set_error(F_parameter);
if (quote != f_iki_syntax_quote_single && quote != f_iki_syntax_quote_double) return F_status_set_error(F_parameter);
if (escaped->used > escaped->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_2_parameter_checking_
return private_fll_iki_content_partial_escape(content, range, quote, escaped);
}
#ifndef _di_fll_iki_content_escape_un_
f_return_status fll_iki_content_escape_un(const f_string_static_t content, const uint8_t quote, f_string_dynamic_t *unescaped) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_2_parameter_checking_
if (content.used > content.size) return F_status_set_error(F_parameter);
if (quote != f_iki_syntax_quote_single && quote != f_iki_syntax_quote_double) return F_status_set_error(F_parameter);
if (unescaped->used > unescaped->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_2_parameter_checking_
const f_string_range_t range = f_macro_string_range_t_initialize(content.used);
#ifndef _di_fll_iki_content_partial_escape_un_
f_return_status fll_iki_content_partial_escape_un(const f_string_static_t content, const f_string_range_t range, const uint8_t quote, f_string_dynamic_t *unescaped) {
- #ifndef _di_level_0_parameter_checking_
+ #ifndef _di_level_2_parameter_checking_
if (content.used > content.size) return F_status_set_error(F_parameter);
if (range.start > range.stop) return F_status_set_error(F_parameter);
if (range.start >= content.used) return F_status_set_error(F_parameter);
if (quote != f_iki_syntax_quote_single && quote != f_iki_syntax_quote_double) return F_status_set_error(F_parameter);
if (unescaped->used > unescaped->size) return F_status_set_error(F_parameter);
- #endif // _di_level_0_parameter_checking_
+ #endif // _di_level_2_parameter_checking_
return private_fll_iki_content_partial_escape_un(content, range, quote, unescaped);
}