diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-02-02 23:01:09 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-02-02 23:01:33 +0000 |
| commit | 96b78561204020df21703a5fe8922bf49dc6e1f4 (patch) | |
| tree | 2a4d23304a5e3d128c5ad5128329bd57bdee9317 /runtime/src | |
| parent | 4fb0e6305743e265fec1b199210e77150b0216e1 (diff) | |
Store effect handler methods directly
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/effects.c | 8 |
1 files changed, 0 insertions, 8 deletions
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; } |
