mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-15 07:48:15 +00:00
Review UnloadAutomationEventList (#3658)
* Review UnloadAutomationEventList * Update raylib.h * Update rcore.c * Update core_automation_events.c * Fix mistake
This commit is contained in:
@@ -2480,13 +2480,10 @@ AutomationEventList LoadAutomationEventList(const char *fileName)
|
||||
}
|
||||
|
||||
// Unload automation events list from file
|
||||
void UnloadAutomationEventList(AutomationEventList *list)
|
||||
void UnloadAutomationEventList(AutomationEventList list)
|
||||
{
|
||||
#if defined(SUPPORT_AUTOMATION_EVENTS)
|
||||
RL_FREE(list->events);
|
||||
list->events = NULL;
|
||||
list->count = 0;
|
||||
list->capacity = 0;
|
||||
RL_FREE(list.events);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user