13 Commits

Author SHA1 Message Date
96e5cc193e Make context mutable
the user callback gets a const timer ref, so in principle the context
would always be read-only. However, in practice it would often be
desirable to mutate the passed context. Therfore, it's now mutable.
2024-01-24 09:19:34 +01:00
dedd67b0fd Remove useless assignment to union member 2024-01-24 09:19:17 +01:00
4ac8765123 User callback gets const timer& arg instead of ptr 2024-01-24 09:03:30 +01:00
dbbbbd92bb Callback cleaner: context can be taken from timer 2024-01-24 08:57:45 +01:00
9dffae5f5d Revert back to version 1.0.0 2024-01-23 23:33:57 +01:00
df1e984c5a User callback changed, better interface 2024-01-23 20:43:39 +01:00
d9233605f9 Change interface, more logical naming 2024-01-23 19:05:20 +01:00
25556263d3 Bumped version to 2.0.0 2024-01-23 19:04:47 +01:00
ace5db88b3 Change .d to .dep 2024-01-23 18:56:57 +01:00
6831eaa7c3 Cleanup namespace usage 2024-01-23 16:39:41 +01:00
b2e1b47d31 Add implementation 2024-01-23 16:23:11 +01:00
41244b0a70 Add dependencies 2024-01-23 16:23:02 +01:00
10b3fb47df First commit 2024-01-23 15:42:16 +01:00