[Freeciv-Dev] Re: (PR#8720) Dynamtext
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8720 >
Raimar Falke wrote:
> How do you decrease the string size? There is no function for this.
>
> How can you get an astring where (astr->str==null) is different from
> (astr->n==0)? It is IMHO not possible.
astr_minsize(0)
>>See <MARK>. WHy is this buffer static? This seems totally unnecessary.
>
> To decrease the number of malloc/free calls.
But if you remove the "static" this array will be on the stack.
jason
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, (continued)
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Raimar Falke, 2004/05/12
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Mike Kaufman, 2004/05/12
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Jason Short, 2004/05/12
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Raimar Falke, 2004/05/13
- [Freeciv-Dev] (PR#8720) Dynamtext, Jason Short, 2004/05/22
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Raimar Falke, 2004/05/22
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Jason Short, 2004/05/22
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Raimar Falke, 2004/05/22
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Jason Short, 2004/05/23
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Raimar Falke, 2004/05/25
- [Freeciv-Dev] Re: (PR#8720) Dynamtext,
Jason Short <=
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Raimar Falke, 2004/05/28
- [Freeciv-Dev] Re: (PR#8720) Dynamtext, Jason Short, 2004/05/28
|
|