Follow-up Comment #4, patch #1651 (project freeciv): Reading over this item I forgot about...
I just posted some extension of the genlist. It makes genlist_list_index() obsolete, as genlist_search() now returns the link. genlist_list_update() maybe should be genlist_link_set(). But, I still think the old data should be free and not returned. I really doubt we need to use genlists for doing a ruleset object. As rulesets types have identifiers, using double-linked lists is an error, because they don't grant a constant time to access the datas (items in the middle of the list will be long to reach). _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1651> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev