[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: Backwards compatibility issues with GDK 2.4
From: Steffen Gutmann <gutmann () ieee ! org>
Date: 2004-04-23 2:36:47
Message-ID: 4088813F.4070101 () ieee ! org
[Download RAW message or body]
Owen Taylor wrote:
>Trying to preserve the ability to compile against GTK+-2.4 then link
>against GTK+-2.2 is basically a losing battle. E.g., this would make
>impossible the change I suggested recently for g_return_if_fail() that
>saves 4% code size for GTK+.
>
How about introducing a 'g_return_if_fail_compact' that uses your new
and size-optimized version and leaving 'g_return_if_fail' as is? This
would preserve compatibility between newer and existing versions and
also allow an application to use g_return_if_fail in the old way with
all the __FILE__ and __LINE__ macros available. Then
g_return_if_fail_compact could even be more size-oprtimized by e.g.
discarding the LOG_DOMAIN parameter.
Regards,
Steffen
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic