Vala: Object property.

This commit is contained in:
Kolan Sh 2012-10-29 16:47:54 +04:00
parent 60cae2ec24
commit 792fab4578
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
public class Prop : Object {
public int prop;
}
public class Person : Object {
public string height { get; set; default = null; }
public string height { get; set; default = null; }
public Prop prop {get; set;}
}
void main () {