On Thu, 8 Nov 2007, Mikkel Kamstrup Erlandsen wrote:

> On 07/11/2007, Mikkel Kamstrup Erlandsen <[EMAIL PROTECTED]> wrote:

>> How about token concatenation[1]?

i have to use that already for the current implementation,
see my recent header:
   
http://git.imendio.com/?p=timj/glib-testing.git;a=blob;f=glib/gtestframework.h;hb=617f2d3398e969bc2c38e1e6138a98cfaf91c7b9

> If anybody agrees with me that we must have an IDE friendly syntax, or have
> other reasons to believe that
>
>   g_assert_cmpint (1, G_EQUALS, 2);

i don't quite see the benefit here. if there was a need to avoid the
operator notation however, i'd definitely prefer something like:

    g_assert_int_lt (1, 2);
    g_assert_int_le (1, 2);
    g_assert_int_eq (1, 2);
    g_assert_int_ne (1, 2);

for <, <=, ==, != respectively.

> I shall gladly make it into a real implementation. Tim?
>
> Cheers,
> Mikkel

---
ciaoTJ
_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to