We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51f432 commit 523649fCopy full SHA for 523649f
SDL3_mixer-CS/SDL3_mixer/SDL_mixer.cs
@@ -9,5 +9,11 @@ public static unsafe partial class SDL3_mixer
9
{
10
[Constant]
11
public static readonly SDL_AudioFormat MIX_DEFAULT_FORMAT = SDL_AUDIO_S16;
12
+
13
+ [Macro]
14
+ public static bool SDL_MIXER_VERSION_ATLEAST(int X, int Y, int Z) =>
15
+ ((SDL_MIXER_MAJOR_VERSION >= X) &&
16
+ (SDL_MIXER_MAJOR_VERSION > X || SDL_MIXER_MINOR_VERSION >= Y) &&
17
+ (SDL_MIXER_MAJOR_VERSION > X || SDL_MIXER_MINOR_VERSION > Y || SDL_MIXER_MICRO_VERSION >= Z));
18
}
19
0 commit comments