Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] Re: (PR#3731) coordinate functions need int*, get short*
Home

[Freeciv-Dev] Re: (PR#3731) coordinate functions need int*, get short*

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3731) coordinate functions need int*, get short*
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Mon, 17 Mar 2003 14:56:55 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, 14 Mar 2003, Jason Short wrote:

> 
> All Freeciv coordinate functions take integers.  Those that take 
> pointers take pointers to integers.
> 
> In the new PF code, there is code that passes pointers to short's 
> instead - specifically to index_to_map_pos.  This is okay with the 
> current macro implementation, but is no good with a function implementation.

These two shorts are historical artifacts and Jason's fix is ok.

G.




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#3731) coordinate functions need int*, get short*, Gregory Berkolaiko <=