[Vala] Is there any way to access generic type from the interface?
- From: "marcin saepia net" <marcin saepia net>
- To: vala <vala-list gnome org>
- Subject: [Vala] Is there any way to access generic type from the interface?
- Date: Sat, 27 Feb 2016 14:59:31 +0100
Hello,
I am planning to use interfaces as in vspec as they are nice syntax sugar
for my purpose.
However, in order to make it working properly, I need to access type
defined as generic in the parent class implementing interface. Something
like
public interface MyIface : MyClass {
public MyGenericType something() {
...
}
}
public abstract class MyClass<MyGenericType> : MyIface {
}
Is it possible in any way?
m.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]