Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2006:
[Freeciv-Dev] Re: (PR#15126) patch: fc_free macro

[Freeciv-Dev] Re: (PR#15126) patch: fc_free macro

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#15126) patch: fc_free macro
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Jan 2006 16:51:43 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: >

Christian Prochaska wrote:
> <URL: >
>>[jdorje - Do 12. Jan 2006, 00:08:51]:
>>but FC_FREE still needs to be capitalized.

> Oh, then it seems I still didn't understand the problem :-/
> What is the crucial difference to the "fc_malloc" macro?

fc_malloc behaves exactly like a function call would.

fc_free does not, because it modifies the parameter being given to it, 
which is impossible using a function.


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