hb-version: HarfBuzz Manual

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

## Functions

#define | HB_VERSION_ATLEAST()
void | hb_version ()
hb_bool_t | hb_version_atleast ()
const char * | hb_version_string ()

## Types and Values

#define | HB_VERSION_MAJOR
#define | HB_VERSION_MICRO
#define | HB_VERSION_MINOR
#define | HB_VERSION_STRING

## 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 2

### HB_VERSION_MICRO

    #define HB_VERSION_MICRO 4

### HB_VERSION_MINOR

    #define HB_VERSION_MINOR 6

### HB_VERSION_STRING

    #define HB_VERSION_STRING "2.6.4"