diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-05-29 16:10:56 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-05-30 08:30:55 -0700 |
commit | c94e4683956a09de468174ff37951abf7822d5a3 (patch) | |
tree | 1b85607868267c5606025864e5322a71e6e9b572 /src/modules/meta2d | |
parent | c975ca1063f85d77fb2dae10d8de7c991863c32e (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/meta2d')
0 files changed, 0 insertions, 0 deletions