Re: [Vala] anonymous structs or something similar?
- From: pancake <pancake youterm com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] anonymous structs or something similar?
- Date: Sat, 18 Jun 2011 11:30:49 +0200
This is not anonymous.
Expect us
On 14/06/2011, at 17:27, Luca Bruno <lethalman88 gmail com> wrote:
On Tue, Jun 14, 2011 at 05:14:53PM +0200, Jan Spurný wrote:
Is this or something close to this possible somehow in vala?
public struct TableItem {
public string name;
public int data;
}
void main () {
const TableItem items[] = {
{"foo", 1},
{"bar", 2}
};
}
--
http://www.debian.org - The Universal Operating System
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]