Re: [Vala] [SimpleType] public struct Integer : uint {} does not work
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Henrik /KaarPoSoft <henrik kaarposoft dk>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [SimpleType] public struct Integer : uint {} does not work
- Date: Thu, 19 Jan 2012 15:16:59 +0100
في ر، 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]