Le vendredi 19 décembre 2008 à 12:10 +0100, Jürg Billeter a écrit :
I just committed some ownership syntax changes to trunk. The old syntax
will continue to be supported but is planned to be deprecated after the
release of Vala 0.5.4.
* `owned' type modifier replaces `#' type
I really like a [owned] like syntax.
It is clear that a [...] expression, refers to Vala code generation
special meaning.
[foo owns bar]
string foo = bar;
or like that:
some_method (42, [owned] bar);
2008/12/20 Xavier Bestel xavier.bes...@free.fr:
Le vendredi 19 décembre 2008 à 12:10 +0100,
On Sat, 2008-12-20 at 12:19 +0100, Xavier Bestel wrote:
Le vendredi 19 décembre 2008 à 12:10 +0100, Jürg Billeter a écrit :
I just committed some ownership syntax changes to trunk. The old syntax
will continue to be supported but is planned to be deprecated after the
release of Vala 0.5.4.
On Sat, 2008-12-20 at 09:25 +, Sam Liddicott wrote:
Why not [owned] ?
For the reference transfer expression or as a type modifier? As brackets
are already used by attributes, [owned] would need to be an attribute to
be usable as a type modifier. We currently do not support attributes in
all
On Sat, 2008-12-20 at 12:19 +0100, Xavier Bestel wrote:
Le vendredi 19 décembre 2008 à 12:10 +0100, Jürg Billeter a écrit :
I just committed some ownership syntax changes to trunk. The old syntax
will continue to be supported but is planned to be deprecated after the
release of Vala 0.5.4.
On Sat, 2008-12-20 at 13:04 +0100, Jürg Billeter wrote:
On Sat, 2008-12-20 at 12:19 +0100, Xavier Bestel wrote:
Le vendredi 19 décembre 2008 à 12:10 +0100, Jürg Billeter a écrit :
I just committed some ownership syntax changes to trunk. The old syntax
will continue to be supported but is
Yu Feng wrote:
On Sat, 2008-12-20 at 13:04 +0100, Jürg Billeter wrote:
On Sat, 2008-12-20 at 12:19 +0100, Xavier Bestel wrote:
Le vendredi 19 décembre 2008 à 12:10 +0100, Jürg Billeter a écrit :
I just committed some ownership syntax changes to trunk. The old syntax
will continue to be
On Sat, 2008-12-20 at 08:24 +0100, Jürg Billeter wrote:
On Sat, 2008-12-20 at 02:19 +0100, Hans Vercammen wrote:
On Fri, 2008-12-19 at 12:10 +0100, Jürg Billeter wrote:
* `(owned)' cast replaces `#' reference transfer expression
Even less used, equally unintuitive. Example
On Sun, 2008-12-21 at 00:16 +0100, Jürg Billeter wrote:
On Sat, 2008-12-20 at 23:57 +0100, Hans Vercammen wrote:
On Sat, 2008-12-20 at 08:24 +0100, Jürg Billeter wrote:
On Sat, 2008-12-20 at 02:19 +0100, Hans Vercammen wrote:
On Fri, 2008-12-19 at 12:10 +0100, Jürg Billeter 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.
Is there documentation anywhere?
Will Genie have to be updated also?
Regards,
Barry
10 matches
Mail list logo