Top |
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 |
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)
Tests the library version at compile-time against a minimum value, as three integer components.
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
);
Tests the library version against a minimum value, as three integer components.
Parameters
major |
Library major version component |
|
minor |
Library minor version component |
|
micro |
Library micro version component |
Since: 0.9.30
hb_version_string ()
const char *
hb_version_string (void
);
Returns library version as a string with three components.
Since: 0.9.2
Types and Values
HB_VERSION_MAJOR
#define HB_VERSION_MAJOR 8
The major component of the library version available at compile-time.
HB_VERSION_MICRO
#define HB_VERSION_MICRO 0
The micro component of the library version available at compile-time.
HB_VERSION_MINOR
#define HB_VERSION_MINOR 5
The minor component of the library version available at compile-time.