URL: <http://gna.org/bugs/?13793>
Summary: [Patch] Use generic iterator for nation iteration Project: Freeciv Submitted by: mbook Submitted on: Friday 06/26/2009 at 00:13 Category: general Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: mbook Originator Email: Open/Closed: Open Discussion Lock: Any Release: Operating System: None _______________________________________________________ Details: Attached patch converts the nations_iterate macro to use the generic iterator interface. Hence the functions nation_array_{first,last}() are removed. I make use of the nation iterator in the start position code I am currently working on. ---------------------------------------------------------------- 未来には「国家」という概念は時代遅れである。 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Friday 06/26/2009 at 00:13 Name: nation_iterator.diff Size: 4kB By: mbook <http://gna.org/bugs/download.php?file_id=6053> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?13793> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev