875 B
875 B
Event system
Testing some (potentially stupid 😅) ideas for a generic event system implmentation in C
Todos
Implement system initialisationImplement system deinitialisationImplement registering new eventsRe-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 eventImplement adding new event listenersRe-use a free slot if one existsRegister a new listeners when not out of capacity and no free listeners existRe-allocate to add more listeners when out of capacity
Implement removing an existing listenerImplement emitting an event