Re: freeing text
- From: Eric Lemings <eric b lemings lmco com>
- To: Havoc Pennington <hp redhat com>
- Cc: Damon Chaplin <damon ximian com>, Andy Kahn <ackahn netapp com>, "Dugas, Alan" <alan dugas analog com>, gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: freeing text
- Date: Tue, 24 Apr 2001 13:49:46 -0600
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.
Eric.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]