Re: [Vala] non-null checking and g(s)lists



On Mon, 2008-06-09 at 14:56 -0700, Michael Lawrence wrote:
Since empty G(S)Lists are NULL, whenever using a G(S)List as a
parameter, I need to specify "?". It's a bit strange to assert that
G(S)List parameters are non-null, as they are actually valid
G(S)Lists.

Yes, that's a strange special case, not sure how we can improve the
situation in a sane way.

Juerg




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