summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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