Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10180) [Patch] Optimize MAX(), MIN() calls
Home

[Freeciv-Dev] (PR#10180) [Patch] Optimize MAX(), MIN() calls

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10180) [Patch] Optimize MAX(), MIN() calls
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Sep 2004 21:17:55 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10180 >

> [marko.lindqvist@xxxxxxxxxxx - Sat Sep 18 19:34:26 2004]:

>   I had to change macro SQSIZE into inline function get_sqsize() in 
> order to use temporary variable.

This part is kindof ugly.  This shouldn't be an inline function and
should probably just be a regular function (rather than a macro).  You
can update the patch to fix this or just drop it if you like.

jason



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