Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: Freeciv commit: ali: Add macro is_city_hilited().
Home

[Freeciv-Dev] Re: Freeciv commit: ali: Add macro is_city_hilited().

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Freeciv commit: ali: Add macro is_city_hilited().
From: Arnstein Lindgard <a-l@xxxxxxx>
Date: Sun, 4 Jan 2004 11:48:19 +0100

On Sun, 4 Jan 2004 11:30:36 +0100 Raimar Falke wrote:

> > +#define is_city_hilited(pcity)                                             
> >  \
> > +  (map_get_tile((pcity)->x, (pcity)->y)->client.hilite == HILITE_CITY)     
> >  \
> > +
> 
> It was my error to not report earlier but such macros should really be
> functions.

Ok I'll change it. Can you explain the criteria for macros?


Arnstein


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