version static method

int version()

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

\returns SDL_ttf version.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL_ttf 3.0.0.

extern SDL_DECLSPEC int SDLCALL TTF_Version(void)

Implementation

static int version() {
  return ttfVersion();
}