Scroll to navigation

SDL_VERSIONNUM_MINOR(3) SDL3 FUNCTIONS SDL_VERSIONNUM_MINOR(3)

NAME

SDL_VERSIONNUM_MINOR - This macro extracts the minor version from a version number

SYNOPSIS

#include <SDL3/SDL_version.h>
#define SDL_VERSIONNUM_MINOR(version) (((version) / 1000) % 1000)

DESCRIPTION

1002003 becomes 2.

MACRO PARAMETERS

the version number.

THREAD SAFETY

It is safe to call this macro from any thread.

AVAILABILITY

This macro is available since SDL 3.2.0.

SDL 3.5.0 Simple Directmedia Layer