Re: [Vala] Mysql binding

2010-01-18 Thread Jens Georg
Hi, i'm trying mysql bindings now, and it doesn't work for me, r...@centos-54-64-minimal ~/develop/vala # valac --pkg mysql mysql2.vala ./mysql2 mysql2.vala:10.19-10.33: error: `Mysql.Database' does not have a default constructor Database mysql = new Database ();

[Vala] preconditions for constructors

2010-01-18 Thread Nor Jaidi Tuah
It seems that constructors do not accept preconditions using requires (though assert can still be used). Is this an oversight or intentional? hand Nor Jaidi Tuah ___ Vala-list mailing list Vala-list@gnome.org