Re: freeing text

Havoc Pennington wrote:

I usually mention it either way, and also we have G_CONST_RETURN now
which will indicate whether you need to free, at least for return
values (though not for out params such as this one).

The only thing that a const return value should convey is you can't change
the value.  I don't see why anybody would think you have to free the value
because it's const.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]