imgLinkedVersion function

Pointer<SdlVersion> imgLinkedVersion()

This function gets the version of the dynamically linked SDL_image library.

it should NOT be used to fill a version structure, instead you should use the SDL_IMAGE_VERSION() macro.

\returns SDL_image version

extern DECLSPEC const SDL_version * SDLCALL IMG_Linked_Version(void)

Implementation

Pointer<SdlVersion> imgLinkedVersion() {
  final imgLinkedVersionLookupFunction = libSdl2Image.lookupFunction<
      Pointer<SdlVersion> Function(),
      Pointer<SdlVersion> Function()>('IMG_Linked_Version');
  return imgLinkedVersionLookupFunction();
}