Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] (PR#13460) consistent names for index-to-pointer lookups
Home

[Freeciv-Dev] (PR#13460) consistent names for index-to-pointer lookups

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13460) consistent names for index-to-pointer lookups
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Jul 2005 17:28:04 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13460 >

Hmm, so it will be xxx_get_by_id then?  Note that the IDs aren't unique
(different items may have the same ID) and fixing this isn't all that
trivial since the IDs have to be contiguous and the outside code (the
iterate macros) has to know where they start.

-jason




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