Hello

I have to problems since vala 0.7.7

this use to work

struct Vector {
        public double[3] data;
}

but now vala complains about this and I need to write
struct Vector {
        public double data[3];
}

with this modification I can not initialize anymore a vector like this

Vector x = {{1, 0, 0}};

Is it normal ?

thanks

Frederic

PS: Is it possible to have this kind of member declaration ?

struct Matrix {
public double[3, 3] data;
}

-- 
GPG public key   1024D/A59B1171 2009-08-11
    fingerprint = 1688 A3D6 F0BD E4DF 2E6B  06AA B6A9 BA6A A59B 1171
uid  Picca Frédéric-Emmanuel <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to