Re: [PATCH] 2 G_CONST_RETURNs



On Tue, 2001-10-23 at 15:41, Owen Taylor wrote:
> 
> murrayc t-online de (Murray Cumming) writes:
> 
> > On Mon, 2001-10-22 at 02:04, Murray Cumming wrote:
> > > On Mon, 2001-10-22 at 01:47, Havoc Pennington wrote:
> > > > 
> > > > murrayc t-online de (Murray Cumming) writes:
> > > > > May I commit this patch, which adds some G_CONST_RETURNs so that
> > > > > language bindings (and people) know that they should free the gchar*
> > > > > return values?
> > > > 
> > > > Presumably you mean "not free" rather than "free"
> > > 
> > > Yes.
> > 
> > Do I have permission to commit this?
> 
> IMO, this falls under the "clist is deprecated don't touch it category", 
> so no, I'd rather not see this change made.

OK. But what about the 2 FontSelection functions?

> Basically, any language binding is going to need a little bit
> of manual intervention on eway or the other.

Of course, but let's fix what we can. And G_CONST_RETURN is needed
documentation anyway.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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