[Freeciv-Dev] Re: (PR#7251) new macros native_pos <-> index
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7251 >
On Thu, Jan 15, 2004 at 09:02:11PM -0800, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7251 >
>
> The attached patch adds macros native_pos_to_index and index_to_native_pos.
>
> These accomplish two things:
>
> - They make the steps in the other macros more explicit.
> - They will be of use in future functions that access values by native
> position.
>
> Because of their extremely heavy use they obviously have to be macros
> (or inline functions).
Shouldn't these be inline functions?!
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare.
Now, thanks to the Internet, we know this is not true."
- [Freeciv-Dev] Re: (PR#7251) new macros native_pos <-> index,
Raimar Falke <=
|
|