Re: glib: GList: do i have to give the first link as an argument?



Oops, I just found the answer: they do expect the first element
to be passed. (i should read more carefully before asking.)

>hi, I'm getting confused with glib.
>GList is a double-linked list, from which I infer that,
>at least theoretically, It would be possible to give any
>link of that list as an argument to represent the list.

>now: is that the case, or do the functions that take a GList*
>as argument to represent the whole list actually expect me
>to give the first list link as an argument?





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