Versioning Utilities

Versioning Utilities

Functions

Description

Functions

ATK_BINARY_AGE

#define ATK_BINARY_AGE    (21410)

Like atk_get_binary_age(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Since 2.7.4


ATK_INTERFACE_AGE

#define ATK_INTERFACE_AGE (1)

Like atk_get_interface_age(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Since 2.7.4


atk_get_major_version ()

guint
atk_get_major_version (void);

Returns


atk_get_minor_version ()

guint
atk_get_minor_version (void);

Returns


atk_get_micro_version ()

guint
atk_get_micro_version (void);

Returns


atk_get_binary_age ()

guint
atk_get_binary_age (void);

Returns


atk_get_interface_age ()

guint
atk_get_interface_age (void);

Returns


ATK_MAJOR_VERSION

#define ATK_MAJOR_VERSION (2)

Like atk_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Since 2.7.4


ATK_MINOR_VERSION

#define ATK_MINOR_VERSION (14)

Like atk_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Since 2.7.4


ATK_MICRO_VERSION

#define ATK_MICRO_VERSION (0)

Like atk_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Since 2.7.4


ATK_CHECK_VERSION()

#define             ATK_CHECK_VERSION(major,minor,micro)

Returns TRUE if the version of the ATK header files is the same as or newer than the passed-in version.

Parameters

major

major version (e.g. 1 for version 1.2.5)

 

minor

minor version (e.g. 2 for version 1.2.5)

 

micro

micro version (e.g. 5 for version 1.2.5)

 

Since 2.7.4

Types and Values