![]() |
![]() |
![]() |
ChupaText Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
Synopsis
#define CHUPA_VERSION_MAJOR #define CHUPA_VERSION_MINOR #define CHUPA_VERSION_MICRO #define CHUPA_VERSION #define CHUPA_VERSION_STRING #define CHUPA_N_COMMITS #define CHUPA_COMMIT_ID #define CHUPA_RELEASE_DATE #define CHUPA_VERSION_DESCRIPTION #define CHUPA_CHECK_VERSION (major, minor, micro) gint chupa_version (void
); const gchar * chupa_version_string (void
); gint chupa_n_commits (void
); gint chupa_release_date (void
); const gchar * chupa_version_description (void
);
Description
ChupaText provides version information, primarily useful in configure checks for builds that have a configure script. Tests will not typically use the features described here.
Details
CHUPA_VERSION
#define CHUPA_VERSION
The version number of the ChupaText with (MAJOR + 1000000 + MINOR + 1000 + MICRO) calculation.
CHUPA_VERSION_STRING
#define CHUPA_VERSION_STRING "0.9.0"
The version number string of the ChupaText with "#{MAJOR}.#{MINOR}.#{MICRO}" format.
CHUPA_VERSION_DESCRIPTION
#define CHUPA_VERSION_DESCRIPTION
The version number description of the ChupaText with "#{MAJOR}.#{MINOR}.#{MICRO}-#{N_COMMITS}-#{COMMIT_ID} #{DATE}" format.
CHUPA_CHECK_VERSION()
#define CHUPA_CHECK_VERSION(major, minor, micro)
Checks the version of the ChupaText. Returns true if the version of the ChupaText header files is the same as or newer than the passed-in version.
|
the major version number. |
|
the minor version number. |
|
the micro version number. |