From 96b78561204020df21703a5fe8922bf49dc6e1f4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 2 Feb 2024 23:01:09 +0000 Subject: Store effect handler methods directly --- runtime/src/effects.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'runtime/src') diff --git a/runtime/src/effects.c b/runtime/src/effects.c index ffc78030..39dabe56 100644 --- a/runtime/src/effects.c +++ b/runtime/src/effects.c @@ -30,14 +30,6 @@ void shed__runtime__effects_push_handler( shed__runtime__current_effect_handler = effect_handler; } -void shed__runtime__effects_set_handler_method( - ShedEffectHandler* effect_handler, - ShedEffectMethodIndex method_index, - ShedClosurePointer handler_method -) { - effect_handler->methods[method_index] = handler_method; -} - void shed__runtime__effects_pop_handler() { shed__runtime__current_effect_handler = shed__runtime__current_effect_handler->parent; } -- cgit v1.2.3