Top | ![]() |
![]() |
![]() |
![]() |
#define | GPLUGIN_VERSION_CHECK() |
gint | (*GPluginVersionCompareFunc) () |
gint | gplugin_version_compare () |
#define | GPLUGIN_MAJOR_VERSION |
#define | GPLUGIN_MINOR_VERSION |
#define | GPLUGIN_MICRO_VERSION |
#define | GPLUGIN_EXTRA_VERSION |
#define | GPLUGIN_VERSION |
GPlugin provides version information, primarily useful in configure checks for builds that have a configure script. Applications will not typically use the features described here.
#define GPLUGIN_VERSION_CHECK(major,minor,micro)
Checks the version of the GPlugin library that is being compiled
against. See gplugin_version_compare()
for a runtime check.
gint (*GPluginVersionCompareFunc) (const gchar *v1
,const gchar *v2
,GError **error
);
GPluginVersionCompareFunc is used to compare two versions of a plugin. It
should return -1 if v1
is greater than v2
, 0 if v1
is equal to v2
, and
1 if v1
is less than v2
.
gint gplugin_version_compare (const gchar *v1
,const gchar *v2
,GError **error
);
The default GPluginVersionCompareFunc. It handles the typical MAJOR.MINOR.MICRO format and ignore any characters after the micro version.
#define GPLUGIN_MAJOR_VERSION (0)
This is the major version number of GPlugin that was compiled against.
#define GPLUGIN_MINOR_VERSION (28)
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.