Re: [Vala] [ANNOUNCE] Vala 0.5.3 - Compiler for the GObject type system



On Sun, 2008-12-21 at 07:57 +0800, Barry Kauler wrote:
* Register structs as boxed types.

This must be a good thing, but what does it mean in practical terms?
I mean, I haven't got a clue what a "boxed type" is and how that changes
how we use structs in Vala/Genie.

With boxed, I meant GBoxed in the GObject type system. It does not
change how structs are used in Vala/Genie. However, it makes it possible
to store a Vala struct in a GValue, which is necessary to use structs as
GObject properties among other things.

Is there documentation anywhere?

If you want more information about GBoxed, have a look at the GObject
documentation.

Will Genie have to be updated also?

No, this was a change in the code generator, which applies to both, Vala
and Genie.

Jürg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]