summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-29 21:47:55 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-29 21:47:55 -0700
commita634b2df74222be85a03b1895ee10135822031c3 (patch)
tree58bc7afdd8e7bdc98ccfc83791c27d46676081a3 /src
parentd948d2c0c35efd8a7c7b60c5f34ff3d0e345cb42 (diff)
til: s/til_module_setup_finalize/til_module_settings_finalize/
Mechanical rename for clarity reasons, primarily to better differentiate from the setup_func style til_module_setup()/til_module_setup_full() functions.
Diffstat (limited to 'src')
-rw-r--r--src/til.c4
-rw-r--r--src/til.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/til.c b/src/til.c
index 1024e89..9bc85ba 100644
--- a/src/til.c
+++ b/src/til.c
@@ -430,7 +430,7 @@ int til_module_setup_full(const til_settings_t *settings, til_setting_t **res_se
return module->setup(settings, res_setting, res_desc, res_setup);
if (res_setup)
- return til_module_setup_finalize(module, settings, res_setup);
+ return til_module_settings_finalize(module, settings, res_setup);
return 0;
}
@@ -586,7 +586,7 @@ int til_module_settings_randomize(const til_module_t *module, til_settings_t *se
/* This turns the incoming module+setings into a "baked" til_setup_t,
* if module->setup() isn't provided, a minimal til_setup_t is still produced.
*/
-int til_module_setup_finalize(const til_module_t *module, const til_settings_t *module_settings, til_setup_t **res_setup)
+int til_module_settings_finalize(const til_module_t *module, const til_settings_t *module_settings, til_setup_t **res_setup)
{
til_setting_t *setting;
const til_setting_desc_t *desc;
diff --git a/src/til.h b/src/til.h
index 2e97f17..36105a8 100644
--- a/src/til.h
+++ b/src/til.h
@@ -52,8 +52,8 @@ int til_module_create_context(const til_module_t *module, til_stream_t *stream,
til_module_context_t * til_module_destroy_context(til_module_context_t *context, til_stream_t *stream);
int til_module_setup_full(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, til_setup_t **res_setup, const char *name, const char *preferred, unsigned flags_excluded, const char **exclusions);
int til_module_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, til_setup_t **res_setup);
-int til_module_setup_finalize(const til_module_t *module, const til_settings_t *module_settings, til_setup_t **res_setup);
int til_module_settings_randomize(const til_module_t *module, til_settings_t *settings, unsigned seed, til_setup_t **res_setup, char **res_arg);
+int til_module_settings_finalize(const til_module_t *module, const til_settings_t *module_settings, til_setup_t **res_setup);
int til_fragmenter_slice_per_cpu(til_module_context_t *context, const til_fb_fragment_t *fragment, unsigned number, til_fb_fragment_t *res_fragment);
int til_fragmenter_slice_per_cpu_x16(til_module_context_t *context, const til_fb_fragment_t *fragment, unsigned number, til_fb_fragment_t *res_fragment);
int til_fragmenter_tile64(til_module_context_t *context, const til_fb_fragment_t *fragment, unsigned number, til_fb_fragment_t *res_fragment);
© All Rights Reserved