SDL_GetVersion - Get the version of SDL that is linked against your program.
Contents
Availability
This function is available since SDL 3.2.0.
Description
If you are linking to SDL dynamically, then it is possible that the current version will be different
than the version you compiled against. This function returns the current version, while SDL_VERSION
is the version you compiled with.
This function may be called safely at any time, even before
SDL_Init ().
Header File
Defined in SDL3/SDL_version.h
Name
SDL_GetVersion - Get the version of SDL that is linked against your program.
Return Value
Returns the version of the linked library.
See Also
•(3), SDL_GetRevision(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetVersion(3)
Synopsis
#include"SDL3/SDL.h"intSDL_GetVersion(void);
