(This function is part of SDL_ttf, a separate library from SDL.)

TTF_Version

This function gets the version of the dynamically linked SDL_ttf library.

Header File

Defined in <SDL3_ttf/SDL_ttf.h>

Syntax

int TTF_Version(void);

Return Value

(int) Returns SDL_ttf version.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since SDL_ttf 3.0.0.


CategoryAPI, CategoryAPIFunction, CategorySDLTTF