Re: g_list_next(foo) vs. foo->next

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

 



Hi,

Neil Zanella <nzanella@xxxxxxxxx> writes:

> I was just wondering whether
>
> g_list_next(foo)
>
> and
>
> foo->next
>
> are really the same or not.

Not exactly the same. Why don't you have a look at the source? There
it is in glist.h:

 #define g_list_next(list) ((list) ? (((GList *)(list))->next) : NULL)


Sven
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux