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

SDL_NET_COMPILEDVERSION

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

Header File

Defined in SDL_net.h

Syntax

#define SDL_NET_COMPILEDVERSION \
    SDL_VERSIONNUM(SDL_NET_MAJOR_VERSION, SDL_NET_MINOR_VERSION, SDL_NET_PATCHLEVEL)

Remarks

In versions higher than 2.9.0, the minor version overflows into the thousands digit: for example, 2.23.0 is encoded as 4300. This macro will not be available in SDL 3.x or SDL_net 3.x.

Deprecated, use SDL_NET_VERSION_ATLEAST or SDL_NET_VERSION instead.


CategoryAPI, CategoryAPIMacro


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.