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/meta2d/meta2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/meta2d') diff --git a/src/modules/meta2d/meta2d.c b/src/modules/meta2d/meta2d.c index b2782b2..c4fd9f8 100644 --- a/src/modules/meta2d/meta2d.c +++ b/src/modules/meta2d/meta2d.c @@ -84,7 +84,7 @@ static til_module_context_t * meta2d_create_context(const til_module_t *module, { meta2d_context_t *ctxt; - ctxt = til_module_context_new(module, sizeof(meta2d_context_t), stream, seed, ticks, n_cpus, path); + ctxt = til_module_context_new(module, sizeof(meta2d_context_t), stream, seed, ticks, n_cpus, path, setup); if (!ctxt) return NULL; -- cgit v1.2.3