From 5c1676dfe6d2f3c837a5e074117b45613fd29a72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:30:19 +0200 Subject: Adding upstream version 2.10.34. Signed-off-by: Daniel Baumann --- libgimpbase/gimpversion.h | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 libgimpbase/gimpversion.h (limited to 'libgimpbase/gimpversion.h') diff --git a/libgimpbase/gimpversion.h b/libgimpbase/gimpversion.h new file mode 100644 index 0000000..5871d3c --- /dev/null +++ b/libgimpbase/gimpversion.h @@ -0,0 +1,70 @@ +/* gimpversion.h + * + * This is a generated file. Please modify 'configure.ac' + */ + +#if !defined (__GIMP_BASE_H_INSIDE__) && !defined (GIMP_BASE_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GIMP_VERSION_H__ +#define __GIMP_VERSION_H__ + +G_BEGIN_DECLS + + +/** + * SECTION: gimpversion + * @title: gimpversion + * @short_description: Macros and constants useful for determining + * GIMP's version number and capabilities. + * + * Macros and constants useful for determining GIMP's version number and + * capabilities. + **/ + +/** + * GIMP_MAJOR_VERSION: + * + * The major GIMP version number. + **/ +#define GIMP_MAJOR_VERSION (2) + +/** + * GIMP_MINOR_VERSION: + * + * The minor GIMP version number. + **/ +#define GIMP_MINOR_VERSION (10) + +/** + * GIMP_MICRO_VERSION: + * + * The micro GIMP version number. + **/ +#define GIMP_MICRO_VERSION (34) + +/** + * GIMP_VERSION: + * + * The GIMP version as a string. + **/ +#define GIMP_VERSION "2.10.34" + +/** + * GIMP_API_VERSION: + * + * Since: 2.2 + **/ +#define GIMP_API_VERSION "2.0" + +#define GIMP_CHECK_VERSION(major, minor, micro) \ + (GIMP_MAJOR_VERSION > (major) || \ + (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || \ + (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && \ + GIMP_MICRO_VERSION >= (micro))) + + +G_END_DECLS + +#endif /* __GIMP_VERSION_H__ */ -- cgit v1.2.3