|
Packit |
a4058c |
#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
|
|
Packit |
a4058c |
#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
|
|
Packit |
a4058c |
#endif
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#ifndef GDK_PIXBUF_FEATURES_H
|
|
Packit |
a4058c |
#define GDK_PIXBUF_FEATURES_H 1
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#include <glib.h>
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* SECTION:initialization_versions
|
|
Packit |
a4058c |
* @Short_description:
|
|
Packit |
a4058c |
Library version numbers.
|
|
Packit |
a4058c |
* @Title: Initialization and Versions
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* These macros and variables let you check the version of gdk-pixbuf
|
|
Packit |
a4058c |
* you're linking against.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* GDK_PIXBUF_MAJOR:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* Major version of gdk-pixbuf library, that is the "0" in
|
|
Packit |
a4058c |
* "0.8.2" for example.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* GDK_PIXBUF_MINOR:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* Minor version of gdk-pixbuf library, that is the "8" in
|
|
Packit |
a4058c |
* "0.8.2" for example.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* GDK_PIXBUF_MICRO:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* Micro version of gdk-pixbuf library, that is the "2" in
|
|
Packit |
a4058c |
* "0.8.2" for example.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* GDK_PIXBUF_VERSION:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* Contains the full version of the gdk-pixbuf header as a string.
|
|
Packit |
a4058c |
* This is the version being compiled against; contrast with
|
|
Packit |
a4058c |
* #gdk_pixbuf_version.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#define GDK_PIXBUF_MAJOR (@GDK_PIXBUF_MAJOR@)
|
|
Packit |
a4058c |
#define GDK_PIXBUF_MINOR (@GDK_PIXBUF_MINOR@)
|
|
Packit |
a4058c |
#define GDK_PIXBUF_MICRO (@GDK_PIXBUF_MICRO@)
|
|
Packit |
a4058c |
#define GDK_PIXBUF_VERSION "@GDK_PIXBUF_VERSION@"
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#ifndef _GDK_PIXBUF_EXTERN
|
|
Packit |
a4058c |
#define _GDK_PIXBUF_EXTERN extern
|
|
Packit |
a4058c |
#endif
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
/* We prefix variable declarations so they can
|
|
Packit |
a4058c |
* properly get exported/imported from Windows DLLs.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
#ifdef G_PLATFORM_WIN32
|
|
Packit |
a4058c |
# ifdef GDK_PIXBUF_STATIC_COMPILATION
|
|
Packit |
a4058c |
# define GDK_PIXBUF_VAR extern
|
|
Packit |
a4058c |
# else /* !GDK_PIXBUF_STATIC_COMPILATION */
|
|
Packit |
a4058c |
# ifdef GDK_PIXBUF_C_COMPILATION
|
|
Packit |
a4058c |
# ifdef DLL_EXPORT
|
|
Packit |
a4058c |
# define GDK_PIXBUF_VAR _GDK_PIXBUF_EXTERN
|
|
Packit |
a4058c |
# else /* !DLL_EXPORT */
|
|
Packit |
a4058c |
# define GDK_PIXBUF_VAR extern
|
|
Packit |
a4058c |
# endif /* !DLL_EXPORT */
|
|
Packit |
a4058c |
# else /* !GDK_PIXBUF_C_COMPILATION */
|
|
Packit |
a4058c |
# define GDK_PIXBUF_VAR extern __declspec(dllimport)
|
|
Packit |
a4058c |
# endif /* !GDK_PIXBUF_C_COMPILATION */
|
|
Packit |
a4058c |
# endif /* !GDK_PIXBUF_STATIC_COMPILATION */
|
|
Packit |
a4058c |
#else /* !G_PLATFORM_WIN32 */
|
|
Packit |
a4058c |
# define GDK_PIXBUF_VAR _GDK_PIXBUF_EXTERN
|
|
Packit |
a4058c |
#endif /* !G_PLATFORM_WIN32 */
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* gdk_pixbuf_major_version:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* The major version number of the gdk-pixbuf library. (e.g. in
|
|
Packit |
a4058c |
* gdk-pixbuf version 1.2.5 this is 1.)
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* This variable is in the library, so represents the
|
|
Packit |
a4058c |
* gdk-pixbuf library you have linked against. Contrast with the
|
|
Packit |
a4058c |
* #GDK_PIXBUF_MAJOR macro, which represents the major version of the
|
|
Packit |
a4058c |
* gdk-pixbuf headers you have included.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* gdk_pixbuf_minor_version:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* The minor version number of the gdk-pixbuf library. (e.g. in
|
|
Packit |
a4058c |
* gdk-pixbuf version 1.2.5 this is 2.)
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* This variable is in the library, so represents the
|
|
Packit |
a4058c |
* gdk-pixbuf library you have linked against. Contrast with the
|
|
Packit |
a4058c |
* #GDK_PIXBUF_MINOR macro, which represents the minor version of the
|
|
Packit |
a4058c |
* gdk-pixbuf headers you have included.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* gdk_pixbuf_micro_version:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* The micro version number of the gdk-pixbuf library. (e.g. in
|
|
Packit |
a4058c |
* gdk-pixbuf version 1.2.5 this is 5.)
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* This variable is in the library, so represents the
|
|
Packit |
a4058c |
* gdk-pixbuf library you have linked against. Contrast with the
|
|
Packit |
a4058c |
* #GDK_PIXBUF_MICRO macro, which represents the micro version of the
|
|
Packit |
a4058c |
* gdk-pixbuf headers you have included.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
/**
|
|
Packit |
a4058c |
* gdk_pixbuf_version:
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* Contains the full version of the gdk-pixbuf library as a string.
|
|
Packit |
a4058c |
* This is the version currently in use by a running program.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
GDK_PIXBUF_VAR const guint gdk_pixbuf_major_version;
|
|
Packit |
a4058c |
GDK_PIXBUF_VAR const guint gdk_pixbuf_minor_version;
|
|
Packit |
a4058c |
GDK_PIXBUF_VAR const guint gdk_pixbuf_micro_version;
|
|
Packit |
a4058c |
GDK_PIXBUF_VAR const char *gdk_pixbuf_version;
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#endif /* GDK_PIXBUF_FEATURES_H */
|