SDL_aligned_free - Man Page
Free memory allocated by SDL_aligned_alloc ().
Header File
Defined in SDL3/SDL_stdinc.h
Synopsis
#include "SDL3/SDL.h" void SDL_aligned_free(void *mem);
Description
The pointer is no longer valid after this call and cannot be dereferenced anymore.
If mem is NULL, this function does nothing.
Function Parameters
- mem
a pointer previously returned by SDL_aligned_alloc (), or NULL.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_aligned_alloc(3)
Referenced By
SDL_aligned_alloc(3), SDL_GetSIMDAlignment(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS