Hi,
I want to construct a List (can be any kind of linked list) where each
element is a struct (or it could be an object):
struct StructType{
string s1;
string s2;
string s3;
}
var list = new List<StructType> ();
output from valac:
'StructType' is not a supported generic type argument, use `?' to box
value types
Seems that List does only accept simple types. Is there any simple way
to implement it without rewriting the whole code of a linked list?
thanks for any help!
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list