Top | ![]() |
![]() |
![]() |
![]() |
#define | GPLUGIN_VERSION_CHECK() |
const gchar * | gplugin_version_check () |
gint | gplugin_version_compare () |
#define | GPLUGIN_MAJOR_VERSION |
#define | GPLUGIN_MINOR_VERSION |
#define | GPLUGIN_MICRO_VERSION |
#define | GPLUGIN_EXTRA_VERSION |
#define | GPLUGIN_VERSION |
GPlugin provided version information, primarily useful when building against GPlugin. Applications will not typically use the features described here unless checking for new versions during builds.
#define GPLUGIN_VERSION_CHECK(major,minor,micro)
Checks the version of the GPlugin library that is being compiled against.
const gchar * gplugin_version_check (guint major
,guint minor
,guint micro
);
Checks that the GPlugin library in use is compatible with the given version. Generally you would pass in the constants GPLUGIN_MAJOR_VERSION, GPLUGIN_MINOR_VERSION, GPLUGIN_MICRO_VERSION as the three arguments to this function; that produces a check that the library in use is compatible with the version of GPlugin the application or module was compiled against.
Compatibility is defined by two things: first the version of the running
library is newer than the version major
.minor
.micro
. Second the running
library must be binary compatible with the version major
.minor
.micro
(same major version).
#define GPLUGIN_MAJOR_VERSION (0)
This is the major version number of GPlugin that was compiled against.
#define GPLUGIN_MINOR_VERSION (33)
This is the minor version number of GPlugin that was compiled against.
#define GPLUGIN_MICRO_VERSION (0)
This is the micro version number of GPlugin that was compiled against.
#define GPLUGIN_EXTRA_VERSION ""
This is the extra version string of GPlugin that was compiled against.