hb-version

hb-version — Information about the version of HarfBuzz in use

Functions

Types and Values

Includes

#include <hb.h>

Description

These functions and macros allow accessing version of the HarfBuzz library used at compile- as well as run-time, and to direct code conditionally based on those versions, again, at compile- or run-time.

Functions

HB_VERSION_ATLEAST()

#define             HB_VERSION_ATLEAST(major,minor,micro)

hb_version ()

void
hb_version (unsigned int *major,
            unsigned int *minor,
            unsigned int *micro);

Returns library version as three integer components.

Parameters

major

Library major version component.

[out]

minor

Library minor version component.

[out]

micro

Library micro version component.

[out]

Since: 0.9.2


hb_version_atleast ()

hb_bool_t
hb_version_atleast (unsigned int major,
                    unsigned int minor,
                    unsigned int micro);

Since: 0.9.30


hb_version_string ()

const char *
hb_version_string (void);

Returns library version as a string with three components.

Returns

library version string.

Since: 0.9.2

Types and Values

HB_VERSION_MAJOR

#define             HB_VERSION_MAJOR

HB_VERSION_MICRO

#define             HB_VERSION_MICRO

HB_VERSION_MINOR

#define             HB_VERSION_MINOR

HB_VERSION_STRING

#define             HB_VERSION_STRING