SDL_VERSIONNUM_MICRO - Man Page

This macro extracts the micro version from a version number

Synopsis

#include <SDL3/SDL_version.h>

#define SDL_VERSIONNUM_MICRO(version) ((version) % 1000)

Description

1002003 becomes 3.

Macro Parameters

version

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.

Info

SDL 3.4.8 Simple Directmedia Layer SDL3 FUNCTIONS