[Vala] How to implement cast in vala?
- From: Akira Nakagawa <matyapiro31 gmail com>
- To: vala-list gnome org
- Subject: [Vala] How to implement cast in vala?
- Date: Sat, 02 May 2015 22:49:38 +0900
Hi all.
I have an experience with C#, so I could do this in vala, too.
public static implicit Class2 (Class1 val) {
return val.getClass2();
}
There is no example or reference for vala,
So how can I explicit/implicit-ly convert class type in vala?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]