Re: [Vala] struct assignment
- From: "Alberto Ruiz" <aruiz gnome org>
- To: "Jürg Billeter" <j bitron ch>
- Cc: Vala paldo org
- Subject: Re: [Vala] struct assignment
- Date: Wed, 29 Aug 2007 15:01:11 +0100
2007/8/29, Jürg Billeter <j bitron ch>:
As discussed on IRC, we'll probably implement
Foo thing = new Foo () { a = 1, b = 2, c = 3 };
Cool!
That's the same syntax as C# 3.0 uses for object initializers.
As soon as it's implemented, let me know, I have the clutter bindings test suite kinda stopped since it uses this feature heavily to initialize Color and Knot structs.
Thanks! :-)
Regards,
Jèrg
--
Un saludo,
Alberto Ruiz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]