From: Kevin Day Date: Mon, 8 Aug 2022 04:03:30 +0000 (-0500) Subject: Cleanup: Use functions directly rather than macros. X-Git-Tag: 0.6.1~19 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=b4007f93e8196d2678c30209b027e1e04663cc70;p=fll Cleanup: Use functions directly rather than macros. The macro use is the old way and is now only used in special cases. --- diff --git a/level_0/f_fss/c/private-fss.c b/level_0/f_fss/c/private-fss.c index ecf8c68..1605e88 100644 --- a/level_0/f_fss/c/private-fss.c +++ b/level_0/f_fss/c/private-fss.c @@ -57,13 +57,13 @@ extern "C" { f_status_t status = F_none; - macro_f_string_ranges_t_adjust(status, named->objects, length) + status = f_string_ranges_adjust(length, &named->objects); if (F_status_is_error(status)) return status; - macro_f_string_rangess_t_adjust(status, named->contents, length) + status = f_string_rangess_adjust(length, &named->contents); if (F_status_is_error(status)) return status; - macro_f_uint8ss_t_adjust(status, named->quotess, length) + status = f_uint8ss_adjust(length, &named->quotess); if (F_status_is_error(status)) return status; return F_none; @@ -75,13 +75,13 @@ extern "C" { f_status_t status = F_none; - macro_f_string_ranges_t_resize(status, named->objects, length) + status = f_string_ranges_resize(length, &named->objects); if (F_status_is_error(status)) return status; - macro_f_string_rangess_t_resize(status, named->contents, length) + status = f_string_rangess_resize(length, &named->contents); if (F_status_is_error(status)) return status; - macro_f_uint8ss_t_resize(status, named->quotess, length) + status = f_uint8ss_resize(length, &named->quotess); if (F_status_is_error(status)) return status; return F_none;