[Freeciv-Dev] Re: (PR#15126) patch: fc_free macro
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15126 >
Christian Prochaska wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=15126 >
>>[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.