Re: RFC: warnings on ignoring return value on some list operations



On Fri, 2005-11-25 at 07:11 -0500, Owen Taylor wrote:

> The GList API isn't an opaque abstract data structure; it's a a set of 
> well-defined operations on list nodes. It would not be OK to change the
> g_list_append() operation to modify the list in some different way,
> no matter what is documented. (The API existed 3-4 years before the
> docs after all.)

I'm not sure what the status is here. I think my patch is mostly OK with
respect to what Owen says. Do we want to commit it, or should I change
it somehow?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a sword-wielding playboy sorceror who knows the secret of the alien 
invasion. She's an artistic foul-mouthed bounty hunter living homeless in New 
York's sewers. They fight crime! 




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