Use of complete GList functionality? Change to GSList?
Derek Atkins
warlord@MIT.EDU
04 Mar 2001 20:58:07 -0500
Is a KVP_TYPE_GLIST guaranteed to always just a list of kvp_values?
If so, then I can deal with that :)
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. :(
-derek
Dave Peticolas <dave@krondo.com> writes:
> Derek Atkins writes:
> >
> > PS: Are there any places where a kvp_frame actually is of type
> > GLIST? I'm not sure how to handle those cases, yet.
>
> I think the implementation of the gnc-associate-account.h API uses them.
>
> dave
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available