863 B
863 B
Event system
Testing some (potentially stupid 😅) ideas for a generic event system implmentation in C
Todos
Implement system initialisationImplement system deinitialisation- Implement registering new events
Re-use a free slot if one existsRegister a event new when not out of capacity and no free events existRe-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 existsRegister 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 listenerImplement emitting an event