From dede4eca3e2fca76f297b5f5b901434cb99eafb0 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 11 May 2023 11:10:48 -0700 Subject: til_module_context: reference setup from module context This just does the obvious pulling in of til_setup_t, holding the reference throughout the lifetime of the module context. --- src/modules/sparkler/sparkler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/sparkler') diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c index c071617..f35852a 100644 --- a/src/modules/sparkler/sparkler.c +++ b/src/modules/sparkler/sparkler.c @@ -37,7 +37,7 @@ static til_module_context_t * sparkler_create_context(const til_module_t *module { sparkler_context_t *ctxt; - ctxt = til_module_context_new(module, sizeof(sparkler_context_t), stream, seed, ticks, n_cpus, path); + ctxt = til_module_context_new(module, sizeof(sparkler_context_t), stream, seed, ticks, n_cpus, path, setup); if (!ctxt) return NULL; -- cgit v1.2.3