823 B
823 B
Event system
Testing some (potentially stupid 😅) ideas for a generic event system implmentation in C
Todos
- Implement system initialisation
- Implement system deinitialisation
- Implement registering new events
- Re-use a free slot if one exists
- Register a event new when not out of capacity and no free events exist
- Re-allocate to add more events when out of capacity
- Implement removing a previously registered event
- Implement adding new event listeners
- Re-use a free slot if one exists
- Register a new listeners when not out of capacity and no free listeners exist
- Re-allocate to add more listeners when out of capacity
- Implement removing an existing listener
- Implement emitting an event