Vala: Object property.
This commit is contained in:
parent
60cae2ec24
commit
792fab4578
|
@ -1,5 +1,10 @@
|
|||
public class Prop : Object {
|
||||
public int prop;
|
||||
}
|
||||
|
||||
public class Person : Object {
|
||||
public string height { get; set; default = null; }
|
||||
public Prop prop {get; set;}
|
||||
}
|
||||
|
||||
void main () {
|
||||
|
|
Loading…
Reference in New Issue