sdlNetLinkedVersion function
Query the version of SDL_net that the program is linked against.
This function gets the version of the dynamically linked SDL_net library. This is separate from the SDL_NET_VERSION() macro, which tells you what version of the SDL_net headers you compiled against.
This returns static internal data; do not free or modify it!
\returns a pointer to the version information.
\since This function is available since SDL_net 2.0.0.
extern DECLSPEC const SDLNet_version * SDLCALL SDLNet_Linked_Version(void)
Implementation
Pointer<SdlVersion> sdlNetLinkedVersion() {
final sdlNetLinkedVersionLookupFunction = libSdl2Net.lookupFunction<
Pointer<SdlVersion> Function(),
Pointer<SdlVersion> Function()>('SDLNet_Linked_Version');
return sdlNetLinkedVersionLookupFunction();
}