.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL's wiki page for SDL_GetRevision: .\" https://wiki.libsdl.org/SDL_GetRevision .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision SDL-3.1.0 .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20SDL_GetRevision .\" SDL can be found at https://libsdl.org/ .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH SDL_GetRevision 3 "SDL 3.1.0" "SDL" "SDL3 FUNCTIONS" .SH NAME SDL_GetRevision \- Get the code revision of SDL that is linked against your program\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3/SDL.h\(dq .PP .BI "const char* SDL_GetRevision(void); .fi .SH DESCRIPTION This value is the revision of the code you are linked with and may be different from the code you are compiling with, which is found in the constant .BR SDL_REVISION \[char46] The revision is arbitrary string (a hash value) uniquely identifying the exact revision of the SDL library in use, and is only useful in comparing against other revisions\[char46] It is NOT an incrementing number\[char46] If SDL wasn't built from a git repository with the appropriate tools, this will return an empty string\[char46] Prior to SDL 2\[char46]0\[char46]16, before development moved to GitHub, this returned a hash for a Mercurial repository\[char46] You shouldn't use this function for anything but logging it for debugging purposes\[char46] The string is not intended to be reliable in any way\[char46] .SH RETURN VALUE Returns an arbitrary string, uniquely identifying the exact revision of the SDL library in use\[char46] .SH AVAILABILITY This function is available since SDL 3\[char46]0\[char46]0\[char46] .SH SEE ALSO .BR SDL_GetVersion (3)