MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_FreeDataQueue

Function SDL_FreeDataQueue

deps/SDL2/src/SDL_dataqueue.c:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void
88SDL_FreeDataQueue(SDL_DataQueue *queue)
89{
90 if (queue) {
91 SDL_FreeDataQueueList(queue->head);
92 SDL_FreeDataQueueList(queue->pool);
93 SDL_free(queue);
94 }
95}
96
97void
98SDL_ClearDataQueue(SDL_DataQueue *queue, const size_t slack)

Callers 2

close_audio_deviceFunction · 0.85
SDL_FreeAudioStreamFunction · 0.85

Calls 2

SDL_FreeDataQueueListFunction · 0.85
SDL_freeFunction · 0.85

Tested by

no test coverage detected