summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-15 22:16:32 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-15 22:16:32 -0700
commitc67cbbba4b6d5073ae7b3050b0e0f96b3ce8ba84 (patch)
tree4521522ab2fb1de9210ad0363c25a13bba64b368 /src
parent68cc907e6a8180092f185be1e611d5a8b6057056 (diff)
modules/rkt: drop vestigial TODO comment about handles
This was written when module names were going to have an @/path/to/context "handle" syntax. But instead I went the "ref" builtin module route, with path=/path/to/context as a setting. While it's more verbose in the settings, it "just works" everywhere that can take a module+settings because the ref builtin is just another module like any other. So this TODO is referring to something that won't happen in a "ref" builtin world.
Diffstat (limited to 'src')
-rw-r--r--src/modules/rkt/rkt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/rkt/rkt.c b/src/modules/rkt/rkt.c
index 3316db5..903777c 100644
--- a/src/modules/rkt/rkt.c
+++ b/src/modules/rkt/rkt.c
@@ -251,7 +251,6 @@ static til_module_context_t * rkt_create_context(const til_module_t *module, til
for (size_t i = 0; i < s->n_scenes; i++) {
int r;
- /* FIXME TODO: this needs to be handle-aware so scenes can directly reference existing contexts */
ctxt->scenes[i].module = til_lookup_module(s->scenes[i].module_name);
if (!ctxt->scenes[i].module) /* this isn't really expected since setup already does this */
return til_module_context_free(&ctxt->til_module_context);
© All Rights Reserved