Update main.c
This commit is contained in:
parent
0d916b56f2
commit
e073d5161b
@ -77,7 +77,7 @@ int main(void) {
|
|||||||
es_emit_event(es, events[EVENT_MOUSE], (void *)&mouse_event);
|
es_emit_event(es, events[EVENT_MOUSE], (void *)&mouse_event);
|
||||||
|
|
||||||
for (int i = 0; i < 20; ++i) {
|
for (int i = 0; i < 20; ++i) {
|
||||||
es_add_event_listener(&es, events[EVENT_WINDOW], extra_event_handler);
|
es_add_event_listener(&es, events[EVENT_WINDOW], callbacks[EVENT_WINDOW]);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("AFTER REALLOCATION WHEN OUT OF CALLBACKS\n\n");
|
printf("AFTER REALLOCATION WHEN OUT OF CALLBACKS\n\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user