Scroll to navigation

TTF_Linked_Version(3) SDL_ttf3 FUNCTIONS TTF_Linked_Version(3)

NAME

TTF_Linked_Version - Query the version of SDL_ttf that the program is linked against.

SYNOPSIS

#include "SDL3_ttf/SDL_ttf.h"
const SDL_Version * TTF_Linked_Version(void);

DESCRIPTION

This function gets the version of the dynamically linked SDL_ttf library. This is separate from the SDL_TTF_VERSION() macro, which tells you what version of the SDL_ttf headers you compiled against.

This returns static internal data; do not free or modify it!

RETURN VALUE

Returns a pointer to the version information.

AVAILABILITY

This function is available since SDL_ttf 3.0.0.

SDL_ttf 3.0.0 SDL_ttf