mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
added GLIB_CHECK_VERSION() macro similar to GTK_CHECK_VERSION().
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org> * glib.h: added GLIB_CHECK_VERSION() macro similar to GTK_CHECK_VERSION().
This commit is contained in:
parent
5f17e39e2a
commit
181f079319
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||
GTK_CHECK_VERSION().
|
||||
|
||||
Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* merges from glib-1-2:
|
||||
|
5
glib.h
5
glib.h
@ -675,6 +675,11 @@ GUTILS_C_VAR const guint glib_micro_version;
|
||||
GUTILS_C_VAR const guint glib_interface_age;
|
||||
GUTILS_C_VAR const guint glib_binary_age;
|
||||
|
||||
#define GLIB_CHECK_VERSION(major,minor,micro) \
|
||||
(GLIB_MAJOR_VERSION > (major) || \
|
||||
(GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION > (minor)) || \
|
||||
(GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION == (minor) && \
|
||||
GLIB_MICRO_VERSION >= (micro)))
|
||||
|
||||
/* Forward declarations of glib types.
|
||||
*/
|
||||
|
@ -675,6 +675,11 @@ GUTILS_C_VAR const guint glib_micro_version;
|
||||
GUTILS_C_VAR const guint glib_interface_age;
|
||||
GUTILS_C_VAR const guint glib_binary_age;
|
||||
|
||||
#define GLIB_CHECK_VERSION(major,minor,micro) \
|
||||
(GLIB_MAJOR_VERSION > (major) || \
|
||||
(GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION > (minor)) || \
|
||||
(GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION == (minor) && \
|
||||
GLIB_MICRO_VERSION >= (micro)))
|
||||
|
||||
/* Forward declarations of glib types.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user