Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11280) [C++] common/packets_gen.h has struct membe
Home

[Freeciv-Dev] Re: (PR#11280) [C++] common/packets_gen.h has struct membe

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fbriere@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11280) [C++] common/packets_gen.h has struct member "class"
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Dec 2004 10:49:31 -0800
Reply-to: rt@xxxxxxxxxxx

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

Frédéric Brière wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11280 >
> 
> In common/packets_gen.h:
> 
>   struct packet_ruleset_nation {
>     ...
>     char class[MAX_LEN_NAME];
> 
> 
> This is actually generated at common/packets.def:1121, and needs to be
> renamed (and common/packets_gen.* regenerated).  The following will need
> to be adjusted:
> 
>   server/ruleset.c: 3117  (only packet.class)
>   client/packhand: 2591-2592  (only p->class)
> 
> 
> Again, give me a name and I will lift the world (or provide a patch).

This and PR#11278 should be one patch.  I think renaming it to 
'category' is fine.

-jason





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#11280) [C++] common/packets_gen.h has struct member "class", Jason Short <=