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

SDL_NET_MAJOR_VERSION

The current major version of SDL_net headers.

Header File

Defined in <SDL3_net/SDL_net.h>

Syntax

#define SDL_NET_MAJOR_VERSION   3

Remarks

If this were SDL_net version 3.2.1, this value would be 3.

Version

This macro is available since SDL_net 3.0.0.


CategoryAPI, CategoryAPIMacro, CategorySDLNet