The gdk-pixbuf Library | ||||
---|---|---|---|---|
#include <gdk-pixbuf/gdk-pixbuf.h> extern const char *gdk_pixbuf_version; extern const guint gdk_pixbuf_major_version; extern const guint gdk_pixbuf_minor_version; extern const guint gdk_pixbuf_micro_version; #define GDK_PIXBUF_VERSION #define GDK_PIXBUF_MAJOR #define GDK_PIXBUF_MINOR #define GDK_PIXBUF_MICRO
These macros and variables let you check the version of gdk-pixbuf you're linking against.
extern const char *gdk_pixbuf_version;
Contains the full version of the gdk-pixbuf library as a string. This is the version currently in use by a running program.
extern const guint gdk_pixbuf_major_version;
The major version number of the gdk-pixbuf library. (e.g. in gdk-pixbuf version 1.2.5 this is 1.)
This variable is in the library, so represents the gdk-pixbuf library you have linked against. Contrast with the GDK_PIXBUF_MAJOR macro, which represents the major version of the gdk-pixbuf headers you have included.
extern const guint gdk_pixbuf_minor_version;
The minor version number of the gdk-pixbuf library. (e.g. in gdk-pixbuf version 1.2.5 this is 2.)
This variable is in the library, so represents the gdk-pixbuf library you have linked against. Contrast with the GDK_PIXBUF_MINOR macro, which represents the minor version of the gdk-pixbuf headers you have included.
extern const guint gdk_pixbuf_micro_version;
The micro version number of the gdk-pixbuf library. (e.g. in gdk-pixbuf version 1.2.5 this is 5.)
This variable is in the library, so represents the gdk-pixbuf library you have linked against. Contrast with the GDK_PIXBUF_MICRO macro, which represents the micro version of the gdk-pixbuf headers you have included.
#define GDK_PIXBUF_VERSION "2.12.12"
Contains the full version of the gdk-pixbuf header as a string. This is the version being compiled against; contrast with gdk_pixbuf_version.
#define GDK_PIXBUF_MAJOR (2)
Major version of gdk-pixbuf library, that is the first "0" in "0.8.0" for example.
#define GDK_PIXBUF_MINOR (12)
Minor version of gdk-pixbuf library, that is the "8" in "0.8.0" for example.