Use of complete GList functionality? Change to GSList?
Dave Peticolas
dave@krondo.com
Sun, 04 Mar 2001 18:04:05 -0800
Derek Atkins writes:
> Is a KVP_TYPE_GLIST guaranteed to always just a list of kvp_values?
> If so, then I can deal with that :)
Yes, that is a guarantee.
> One of my major issues with the GList construct is that there is no
> way to validate the _type_ of list you've got. In other words, there
> is no way to be assured that you have list of type foo. I could pass
> a GList of type foo to a function that is expecting a GList of type
> bar, and there is no way to detect that. :(
True. Care must be taken :)
dave