Commit cb9ee7c6 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix ref array parameters

2007-10-08  Juerg Billeter  <j@bitron.ch>

	* gobject/valaccodegenerator.vala: fix ref array parameters

svn path=/trunk/; revision=641
parent 66b4ee07
2007-10-08 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix ref array parameters
2007-10-05 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala: support static methods as
......
......@@ -2047,7 +2047,7 @@ public class Vala.CCodeGenerator : CodeGenerator {
if (array_expr is UnaryExpression) {
var unary_expr = (UnaryExpression) array_expr;
if (unary_expr.operator == UnaryOperator.OUT) {
if (unary_expr.operator == UnaryOperator.OUT || unary_expr.operator == UnaryOperator.REF) {
array_expr = unary_expr.inner;
is_out = true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment