[Fwd: Data in linked lists]

2001-07-07 Thread Eric Lemings
Gentlemen, I was just thinking about how the data in linked lists structures are handled by the GList and GSList implementations. These implementations never directly alter the data themselves nor do they change the value of the data pointers, do they? That job is the responsibility of

Re: [Fwd: Data in linked lists]

2001-07-07 Thread Eric M. Monsler
Eric, I am not sure whether you are suggesting that the pointers be constant pointers, or that they be made pointers to constant data. In either case, the only benefit that I see would be to catch at compile-time bugs in the GList and GSList implementations; the inadvertant altering of either