From 91a027fc61106cf747f02152f01dd4683aa62302 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Wed, 1 Jan 2025 20:10:07 +0000 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index db48916..39a980e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # Event system Testing some (potentially stupid 😅) ideas for a generic event system implmentation in C + +[Example usage](src/main.c) + +## Todos + +- [x] Implement system initialisation +- [x] Implement system deinitialisation +- [ ] Implement registering new events + - [x] Re-use a free slot if one exists + - [x] Register a event new when not out of capacity and no free events exist + - [ ] Re-allocate to add more events when out of capacity +- [x] Implement removing a previously registered event +- [ ] Implement adding new event listeners + - [x] Re-use a free slot if one exists + - [x] Register a new listeners when not out of capacity and no free listeners exist + - [ ] Re-allocate to add more listeners when out of capacity +- [x] Implement removing an existing listener +- [x] Implement emitting an event