Re: compile time checking of *mm version



2012/2/5 ahmet öztürk <bilheps gmail com>:
> Hi everybody,
>
> I wonder if it is possible to determine the version of *mm components at
> compile time, during preprocessing to be exact. This is required to be
> able to support different *mm versions by hiding new and deprecated api,
> whichever fits.
>
> In other words, I need *mm equivalents of GTK_VERSION_CHECK,
> GLIB_VERSION_CHECK, PANGO_CHECK_VERSION (why is the name not consistent
> with the rest?) macros.
>

You can write your own macro using
{GLIB,GTK,PANGO}MM_{MAJOR,MINOR,MICRO}_VERSION macros. Those ones are
defined in {glib,gtk,pango}mmconfig.h.

> Thanks,
>
> Ahmet
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]