Re: g_object_ref() now propagates types



On Sat, 2017-12-09 at 10:54 +0100, Sébastien Wilmet wrote:
On Fri, Dec 08, 2017 at 11:26:31AM +0000, Philip Withnall wrote:
Note that the new behaviour requires GCC, and is only enabled if
you
have defined GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_56.

If GLIB_VERSION_MAX_ALLOWED is not defined, does it take by default
the
value of the last GLib version?

That’s a good point. If left undefined, GLIB_VERSION_MAX_ALLOWED is
defined to the current stable release (GLIB_VERSION_CUR_STABLE). Once
2.56 is released, that means anyone who has not defined
GLIB_VERSION_MAX_ALLOWED will get the new g_object_ref() behaviour by
default.

Philip

Attachment: signature.asc
Description: This is a digitally signed message part



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