From 08b666df82b6224640cb6fab7e55ebc943a7814e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 5 Dec 2025 23:07:31 -0600 Subject: [PATCH] Update: Main program structures to follow consistent styling across several projects. --- .../c/program/kevux/tools/remove/main/common/type.h | 10 ++++++---- .../c/program/kevux/tools/tacocat/main/common/type.h | 18 ++++++++++-------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/sources/c/program/kevux/tools/remove/main/common/type.h b/sources/c/program/kevux/tools/remove/main/common/type.h index e10082c..7928cf0 100644 --- a/sources/c/program/kevux/tools/remove/main/common/type.h +++ b/sources/c/program/kevux/tools/remove/main/common/type.h @@ -264,23 +264,25 @@ extern "C" { /** * The main program data as a single structure. * - * cache: The program cache. - * call: The program callbacks. * program: The main program data. + * + * cache: The program cache. + * call: The program call backs. * setting: The settings data. */ #ifndef _di_kt_remove_main_t_ struct kt_remove_main_t_ { + fll_program_data_t program; + kt_remove_cache_t cache; kt_remove_callback_t call; - fll_program_data_t program; kt_remove_setting_t setting; }; #define kt_remove_main_t_initialize { \ + .program = fll_program_data_t_initialize, \ .cache = kt_remove_cache_t_initialize, \ .call = kt_remove_callback_t_initialize, \ - .program = fll_program_data_t_initialize, \ .setting = kt_remove_setting_t_initialize, \ } #endif // _di_kt_remove_main_t_ diff --git a/sources/c/program/kevux/tools/tacocat/main/common/type.h b/sources/c/program/kevux/tools/tacocat/main/common/type.h index c65bc38..e7e1ff6 100644 --- a/sources/c/program/kevux/tools/tacocat/main/common/type.h +++ b/sources/c/program/kevux/tools/tacocat/main/common/type.h @@ -432,25 +432,27 @@ extern "C" { /** * The main program data as a single structure. * - * cache: The program cache. - * call: The program callbacks. - * program: The main program data. - * setting: The settings data. - * thread: The program thread data. + * program: The main program data. + * + * cache: The program cache. + * call: The program call backs. + * setting: The settings data. + * thread: The program thread data. */ #ifndef _di_kt_tacocat_main_t_ struct kt_tacocat_main_t_ { + fll_program_data_t program; + kt_tacocat_cache_t cache; kt_tacocat_call_t call; - fll_program_data_t program; kt_tacocat_setting_t setting; kt_tacocat_thread_t thread; }; #define kt_tacocat_main_t_initialize { \ - .cache = kt_tacocat_cache_t_initialize, \ - .call = kt_tacocat_call_t_initialize, \ .program = fll_program_data_t_initialize, \ + .cache = kt_tacocat_cache_t_initialize, \ + .call = kt_tacocat_call_t_initialize, \ .setting = kt_tacocat_setting_t_initialize, \ .thread = kt_tacocat_thread_t_initialize, \ } -- 1.8.3.1