[Vala] default-property-value syntax
- From: "Florian Brosch" <flo brosch gmail com>
- To: vala-list gnome org
- Subject: [Vala] default-property-value syntax
- Date: Wed, 5 Mar 2008 23:36:31 +0100
Hi, guys.
A new feature of valac 0.1.8 is a way to set the default-value of a property:
public int rank {
construct set;
private get;
default ( 5 );
}
We talked about the syntax in #vala. Chipzz and I think that following
looks more appealing:
public int rank {
construct set;
private get;
default = 5;
}
Juergbi asked me to send an e-mail about the topic to discuss, to find
the best solution.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]