[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]
<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
|
|