Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6411) genlist cleanup
Home

[Freeciv-Dev] Re: (PR#6411) genlist cleanup

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6411) genlist cleanup
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 21 Oct 2003 22:58:25 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Oct 10, 2003 at 01:16:05PM -0700, Jason Short wrote:
> 
> [per - Thu Oct  9 21:25:05 2003]:
> 
> > Here is a new version. Less lines of changes, since I reused the old
> > iterator macros like Jason wanted. Also fixed a serious bug.
> 
> OK...
> 
> But gui-gtk at least doesn't compile with this; citydlg.c still uses
> genlist_iterator.

Per can you please update the patch so that it covers all the code.

Does anybody have a list of code places where we use the genlist
directly i.e. without the iterate? Can these places be converted?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Premature optimization is the root of all evil."
    -- D. E. Knuth in "Structured Programming with go to Statements"



[Prev in Thread] Current Thread [Next in Thread]