Top |
#define | GGANDIVA_VERSION_CHECK() |
#define | GGANDIVA_DEPRECATED_FOR() |
#define | GGANDIVA_UNAVAILABLE() |
#define | GGANDIVA_DEPRECATED_IN_4_0_FOR() |
#define | GGANDIVA_DEPRECATED_IN_1_0_FOR() |
#define | GGANDIVA_DEPRECATED_IN_0_17_FOR() |
#define | GGANDIVA_VERSION_MAJOR |
#define | GGANDIVA_VERSION_MINOR |
#define | GGANDIVA_VERSION_MICRO |
#define | GGANDIVA_VERSION_TAG |
#define | GGANDIVA_DEPRECATED |
#define | GGANDIVA_VERSION_1_0 |
#define | GGANDIVA_VERSION_4_0 |
#define | GGANDIVA_VERSION_MIN_REQUIRED |
#define | GGANDIVA_VERSION_MAX_ALLOWED |
#define | GGANDIVA_AVAILABLE_IN_ALL |
#define | GGANDIVA_DEPRECATED_IN_4_0 |
#define | GGANDIVA_AVAILABLE_IN_4_0 |
#define | GGANDIVA_DEPRECATED_IN_1_0 |
#define | GGANDIVA_AVAILABLE_IN_1_0 |
#define | GGANDIVA_DEPRECATED_IN_0_17 |
#define | GGANDIVA_AVAILABLE_IN_0_17 |
Gandiva GLib provides macros that can be used by C pre-processor. They are useful to check version related things at compile time.
#define GGANDIVA_VERSION_CHECK(major, minor, micro)
You can use this macro in C pre-processor.
major |
A major version to check for. |
|
minor |
A minor version to check for. |
|
micro |
A micro version to check for. |
TRUE
if the compile time Gandiva GLib version is the
same as or newer than the passed version, FALSE
otherwise.
Since: 1.0.0
# define GGANDIVA_DEPRECATED_IN_4_0_FOR(function) GGANDIVA_DEPRECATED_FOR(function)
# define GGANDIVA_DEPRECATED_IN_1_0_FOR(function) GGANDIVA_DEPRECATED_FOR(function)
#define GGANDIVA_VERSION_TAG ""
The version tag. Normally, it's an empty string. It's "SNAPSHOT" for snapshot version.
Since: 1.0.0
#define GGANDIVA_VERSION_1_0 G_ENCODE_VERSION(1, 0)
You can use this macro value for compile time API version check.
Since: 1.0.0
#define GGANDIVA_VERSION_4_0 G_ENCODE_VERSION(4, 0)
You can use this macro value for compile time API version check.
Since: 4.0.0
#define GGANDIVA_VERSION_MIN_REQUIRED
You can use this macro for compile time API version check.
This macro value must be one of the predefined version macros such
as GGANDIVA_VERSION_1_0
.
If you use any functions that is defined by newer version than
GGANDIVA_VERSION_MIN_REQUIRED
, deprecated warnings are produced at
compile time.
You must define this macro before including the gandiva-glib/gandiva-glib.h header.
Since: 1.0.0
#define GGANDIVA_VERSION_MAX_ALLOWED
You can use this macro for compile time API version check.
This macro value must be one of the predefined version macros such
as GGANDIVA_VERSION_1_0
.
If you use any functions that is defined by newer version than
GGANDIVA_VERSION_MAX_ALLOWED
, deprecated warnings are produced at
compile time.
You must define this macro before including the gandiva-glib/gandiva-glib.h header.
Since: 1.0.0