في ر، 18-01-2012 عند 17:56 +0100 ، كتب Henrik /KaarPoSoft:
> Dear all,
> 
> I am trying to create a new type in vala,
> like "typedef" in C.

> I have created the following file called i.vala:
> <code>
> [SimpleType]
> public struct Integer : uint {
> }
> public static int main (string[] args) {return 0;}
> </code>

Adding [CCode (has_type_id=false)] should let you compile your program,
but this is probably a bug that should be fixed.

HTH,
Abderrahim

_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to