g_list_next(foo) vs. foo->next



Hello,

I was just wondering whether

g_list_next(foo)

and

foo->next

are really the same or not. It seems to me that they are but
that the former construct is preferable for object-oriented-like reasons.

Thanks,

Neil



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