Frees the resources used by the event, then frees the event itself.
void event_free(Event* event);
Name | Type | Description |
---|---|---|
event | Event* | A pointer to the event. |
Strongly Typed:
EVENT_DEFINE_1_H(StringEvent, str_event, char*)
EVENT_DEFINE_C(StringEvent, str_event)
StringEvent* event = str_event_create();
// Use the event...
str_event_free(event);
Generically Typed:
GdsEvent* event = gds_event_create();
// Use the event...
gds_event_free(event);