Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11281) [C++] forward enum declaration in common/fc
Home

[Freeciv-Dev] Re: (PR#11281) [C++] forward enum declaration in common/fc

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fbriere@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11281) [C++] forward enum declaration in common/fc_types.h
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Dec 2004 14:03:01 -0800
Reply-to: rt@xxxxxxxxxxx

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

Frédéric Brière wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11281 >
> 
> On Wed, Dec 01, 2004 at 12:02:54PM -0800, Jason Short wrote:
> 
>>typedef is in fctypes.h.  But you can move the enum into fctypes.h as 
> 
>   enum specialist_type {
>     SP_ELVIS, SP_SCIENTIST, SP_TAXMAN, SP_LAST
>   };
>   #define SP_COUNT SP_LAST
>   #define SP_MAX SP_LAST
> 
> 
> I assume the #defines should be moved as well?

For the moment, yes.

-jason





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