Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11478) Sprinkling some const struct player
Home

[Freeciv-Dev] Re: (PR#11478) Sprinkling some const struct player

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fbriere@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11478) Sprinkling some const struct player
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Dec 2004 21:02:00 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11478 >

The text.[ch] changes don't quite work.  You can no longer compile 
plrdlg_common.c because the function prototype doesn't match that 
expected by the array.

However you could change the array and all the functions in it to take 
const players.

-jason





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