MIX_Version - Man Page

Get the version of SDL_mixer that is linked against your program.

Synopsis

#include <SDL3_mixer/SDL_mixer.h>

int MIX_Version(void);

Description

If you are linking to SDL_mixer 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_MIXER_VERSION is the version you compiled with.

This function may be called safely at any time, even before MIX_Init().

Return Value

Returns the version of the linked library.

Availability

This function is available since SDL_mixer 3.0.0.

See Also

SDL_MIXER_VERSION(3)

Info

SDL_mixer 3.2.4 SDL_mixer3 FUNCTIONS