Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Question about attributes
Home

[Freeciv-Dev] Re: Question about attributes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Question about attributes
From: Jason Short <vze2zq63@xxxxxxxxxxx>
Date: Thu, 10 Jan 2002 05:53:23 -0500
Reply-to: jdorje@xxxxxxxxxxxx

Raimar Falke wrote:


You see the attributes aren't really used. I agree that a seperate
attribute_length is the way to go. Please send a patch.

What about just malloc'ing the buffer in attribute_get? This saves the extra function call (which will generally always be necessary), at the small cost of having to free the buffer later.

jason




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