(This function is part of SDL_net, a separate library from SDL.)

SDL_NET_VERSION

This is the version number macro for the current SDL_net version.

Header File

Defined in <SDL3_net/SDL_net.h>

Syntax

#define SDL_NET_VERSION \
    SDL_VERSIONNUM(SDL_NET_MAJOR_VERSION, SDL_NET_MINOR_VERSION, SDL_NET_MICRO_VERSION)

Version

This macro is available since SDL_net 3.0.0.

See Also


CategoryAPI, CategoryAPIMacro, CategorySDLNet