refactor: pass structs as pointers except for background things

This commit is contained in:
2025-11-08 19:24:14 +01:00
parent 92f010ca70
commit 3b7a550b6a
23 changed files with 418 additions and 450 deletions
+3 -3
View File
@@ -3,14 +3,14 @@
#ifndef TEMPO_H
#define TEMPO_H
Tempo tempo_init();
void tempo_init(Tempo *tempo);
void tempo_tap(Tempo *tempo);
void tempo_set(Tempo *tempo, float value);
double tempo_total(Tempo tempo);
double tempo_total(Tempo *tempo);
double tempo_progress(Tempo tempo, double modulo);
double tempo_progress(Tempo *tempo, double modulo);
#endif /* TEMPO_H */