2010-06-04 23:40:43 +00:00
|
|
|
#if !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
|
2008-05-28 13:39:52 +00:00
|
|
|
#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2000-01-10 19:17:42 +00:00
|
|
|
#ifndef GDK_PIXBUF_FEATURES_H
|
|
|
|
#define GDK_PIXBUF_FEATURES_H 1
|
|
|
|
|
|
|
|
#define GDK_PIXBUF_MAJOR (@GDK_PIXBUF_MAJOR@)
|
|
|
|
#define GDK_PIXBUF_MINOR (@GDK_PIXBUF_MINOR@)
|
|
|
|
#define GDK_PIXBUF_MICRO (@GDK_PIXBUF_MICRO@)
|
|
|
|
#define GDK_PIXBUF_VERSION "@GDK_PIXBUF_VERSION@"
|
|
|
|
|
2004-07-06 22:27:44 +00:00
|
|
|
/* We prefix variable declarations so they can
|
|
|
|
* properly get exported/imported from Windows DLLs.
|
|
|
|
*/
|
2008-05-27 12:05:14 +00:00
|
|
|
#ifdef G_PLATFORM_WIN32
|
|
|
|
# ifdef GDK_PIXBUF_STATIC_COMPILATION
|
|
|
|
# define GDK_PIXBUF_VAR extern
|
|
|
|
# else /* !GDK_PIXBUF_STATIC_COMPILATION */
|
2008-05-27 12:50:45 +00:00
|
|
|
# ifdef GDK_PIXBUF_C_COMPILATION
|
2008-05-27 12:05:14 +00:00
|
|
|
# ifdef DLL_EXPORT
|
|
|
|
# define GDK_PIXBUF_VAR __declspec(dllexport)
|
|
|
|
# else /* !DLL_EXPORT */
|
|
|
|
# define GDK_PIXBUF_VAR extern
|
|
|
|
# endif /* !DLL_EXPORT */
|
2008-05-27 12:50:45 +00:00
|
|
|
# else /* !GDK_PIXBUF_C_COMPILATION */
|
2008-05-27 12:05:14 +00:00
|
|
|
# define GDK_PIXBUF_VAR extern __declspec(dllimport)
|
2008-05-27 12:50:45 +00:00
|
|
|
# endif /* !GDK_PIXBUF_C_COMPILATION */
|
2008-05-27 12:05:14 +00:00
|
|
|
# endif /* !GDK_PIXBUF_STATIC_COMPILATION */
|
|
|
|
#else /* !G_PLATFORM_WIN32 */
|
|
|
|
# define GDK_PIXBUF_VAR extern
|
|
|
|
#endif /* !G_PLATFORM_WIN32 */
|
2004-07-06 22:27:44 +00:00
|
|
|
|
2004-11-01 19:35:27 +00:00
|
|
|
GDK_PIXBUF_VAR const guint gdk_pixbuf_major_version;
|
|
|
|
GDK_PIXBUF_VAR const guint gdk_pixbuf_minor_version;
|
|
|
|
GDK_PIXBUF_VAR const guint gdk_pixbuf_micro_version;
|
2005-03-01 14:57:20 +00:00
|
|
|
GDK_PIXBUF_VAR const char *gdk_pixbuf_version;
|
2000-01-10 19:17:42 +00:00
|
|
|
|
2008-05-27 12:05:14 +00:00
|
|
|
#endif /* GDK_PIXBUF_FEATURES_H */
|