Re: [Vala] initializing structures
- From: Sam Liddicott <sam liddicott com>
- To: Cliff Brake <cliff brake gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] initializing structures
- Date: Thu, 04 Sep 2008 09:02:20 +0100
* Cliff Brake wrote, On 03/09/08 21:38:
Looking at the Vala test code, I realized the syntax should be:
...
mystruct[] my_a = {
mystruct() {test1 = "this is a test", test2 = 10},
mystruct() {test1 = "this is a test"},
mystruct() {test2 = 12}
};
Wow. That's weird.
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]