Fulltext search with Ruby and groonga - Ranguba

Version Information

Version Information — Variables and macros to check the ChupaText version

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_MAJOR

#define CHUPA_VERSION_MAJOR 0

The major version number of the ChupaText.


CHUPA_VERSION_MINOR

#define CHUPA_VERSION_MINOR 9

The minor version number of the ChupaText.


CHUPA_VERSION_MICRO

#define CHUPA_VERSION_MICRO 0

The micro version number of the ChupaText.


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_N_COMMITS

#define CHUPA_N_COMMITS 0

The number of commits since released version.


CHUPA_COMMIT_ID

#define CHUPA_COMMIT_ID ""

The commit ID of this version.


CHUPA_RELEASE_DATE

#define CHUPA_RELEASE_DATE 20101226

The release date.


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.

major :

the major version number.

minor :

the minor version number.

micro :

the micro version number.

chupa_version ()

gint                chupa_version                       (void);


chupa_version_string ()

const gchar *       chupa_version_string                (void);


chupa_n_commits ()

gint                chupa_n_commits                     (void);


chupa_release_date ()

gint                chupa_release_date                  (void);


chupa_version_description ()

const gchar *       chupa_version_description           (void);