ttfGetHarfBuzzVersion function

void ttfGetHarfBuzzVersion(
  1. Pointer<Int32> major,
  2. Pointer<Int32> minor,
  3. Pointer<Int32> patch
)

Query the version of the HarfBuzz library in use.

If HarfBuzz is not available, the version reported is 0.0.0.

\param major to be filled in with the major version number. Can be NULL. \param minor to be filled in with the minor version number. Can be NULL. \param patch to be filled in with the param version number. Can be NULL.

\since This function is available since SDL_ttf 2.0.18.

extern DECLSPEC void SDLCALL TTF_GetHarfBuzzVersion(int *major, int *minor, int *patch)

Implementation

void ttfGetHarfBuzzVersion(
    Pointer<Int32> major, Pointer<Int32> minor, Pointer<Int32> patch) {
  final ttfGetHarfBuzzVersionLookupFunction = libSdl2Ttf.lookupFunction<
      Void Function(
          Pointer<Int32> major, Pointer<Int32> minor, Pointer<Int32> patch),
      void Function(Pointer<Int32> major, Pointer<Int32> minor,
          Pointer<Int32> patch)>('TTF_GetHarfBuzzVersion');
  return ttfGetHarfBuzzVersionLookupFunction(major, minor, patch);
}