From 09190056721872069a82db51d97de6ab60f73a40 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sat, 21 Sep 2024 00:23:25 +0200 Subject: Allow user to specify effect --- src/effect.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/effect.h') diff --git a/src/effect.h b/src/effect.h index 980d339..b5f4b32 100644 --- a/src/effect.h +++ b/src/effect.h @@ -34,11 +34,13 @@ struct effect_info { }; struct effect { - effect_info_t *info; + const effect_info_t *info; struct timespec start; struct effect *next; }; +void effect_init(effect_t *effect, const effect_info_t *info); + void effect_info_free(effect_info_t *info); void effect_free(effect_t *effect); -- cgit v1.2.3