Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile
Home

[Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#9020) optimization of map_get_tile
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Jun 2004 06:05:38 -0700
Reply-to: rt@xxxxxxxxxxx

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

Gregory Berkolaiko wrote:

> Also, for debugging having map_get_tile a macro would be quite bad, AFAIK
> debugger doesn't recognize macros.

The same is true of inline functions, though.

However with an inline function you can edit the line in config.h to

   #define inline

and you'll then compile without inlining.  Although you will get some 
compilation warnings.

jason




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