Top |
#define | CTPL_MAJOR_VERSION |
#define | CTPL_MINOR_VERSION |
#define | CTPL_MICRO_VERSION |
extern const guint | ctpl_major_version |
extern const guint | ctpl_minor_version |
extern const guint | ctpl_micro_version |
#define CTPL_CHECK_VERSION(major, minor, micro)
Checks whether the CTPL version is equal or newer than the passed-in version.
This provides a compile-time check that can be used in preprocessor checks.
If you want a run-time check, use ctpl_check_version()
.
major |
CTPL major version required |
|
minor |
CTPL minor version required |
|
micro |
CTPL micro version required |
Since 0.3
gboolean ctpl_check_version (guint major
,guint minor
,guint micro
);
Checks whether the CTPL library in use is presumably compatible with the given version. You would generally pass in the constants CTPL_MAJOR_VERSION, CTPL_MINOR_VERSION, CTPL_MICRO_VERSION as the three arguments to this function; that produces a check that the library in use is compatible with the version of CTPL the application was built against.
This function currently simply checks whether the actual CTPL version is equal or newer than the passed in version.
This provides a run-time check, unlike CTPL_CHECK_VERSION
that does a
compile-time check.
major |
CTPL major version required |
|
minor |
CTPL minor version required |
|
micro |
CTPL micro version required |
Since 0.3
#define CTPL_MAJOR_VERSION 0
Major version of the CTPL library the application is compiled against.
Since 0.3
#define CTPL_MINOR_VERSION 3
Minor version of the CTPL library the application is compiled against.
Since 0.3
#define CTPL_MICRO_VERSION 4
Micro version of the CTPL library the application is compiled against.
Since 0.3
extern const guint ctpl_major_version;
Major version of the CTPL library the application is running with.
Since 0.3
extern const guint ctpl_minor_version;
Minor version of the CTPL library the application is running with.
Since 0.3