Re: [Vala] non-null checking and g(s)lists
- From: Jürg Billeter <j bitron ch>
- To: Michael Lawrence <mflawren fhcrc org>
- Cc: Vala ML <vala-list gnome org>
- Subject: Re: [Vala] non-null checking and g(s)lists
- Date: Wed, 23 Jul 2008 11:25:19 +0200
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]