summaryrefslogtreecommitdiff
path: root/src/modules/rkt
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-29 16:10:56 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-30 08:30:55 -0700
commitc94e4683956a09de468174ff37951abf7822d5a3 (patch)
tree1b85607868267c5606025864e5322a71e6e9b572 /src/modules/rkt
parentc975ca1063f85d77fb2dae10d8de7c991863c32e (diff)
til: add til_module_setup_finalize() helper
Preparatory commit for til_module_create_context() requiring setups even when there's no til_module_t.setup() method. This helper will produce the minimal til_setup_t in such cases, or hand off the task to til_module_t.setup() when present. Note the need for passing res_setting and res_desc to til_module_t.setup() despite not being a settings-construction scenario. This is because of how modules using nested settings tend to use res_setting for storing the current setting in accessing the nested instance, which must still occur even when just baking the complete setup. It's expected that any composite/meta modules utilizing other modules will use this helper to produce the baked setups, instead of the ad-hoc direct calling of til_module_t.setup() they do presently.
Diffstat (limited to 'src/modules/rkt')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved