Re: g_list_next(foo) vs. foo->next
- From: Sven Neumann <sven gimp org>
- To: Neil Zanella <nzanella gmail com>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: g_list_next(foo) vs. foo->next
- Date: Fri, 19 Nov 2004 10:28:12 +0100
Hi,
Neil Zanella <nzanella gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]