Re: volunteer needed: "const" on returned strings



Havoc Pennington <hp redhat com> writes:

> We have this new G_CONST_RETURN macro, which by default expands to
> "const". This should be applied to all functions in GLib/Pango/GTK
> that return a string by reference (rather than returning an allocated
> string that must be freed).

I will do this for GLib. (And perhaps for the others if noone else
volunteers).

Søren




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