]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix null-terminated array parameters in signals
authorJürg Billeter <j@bitron.ch>
Mon, 7 Feb 2011 21:36:13 +0000 (22:36 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 12 Mar 2011 14:33:37 +0000 (15:33 +0100)
Fixes bug 641715.

vala/valaformalparameter.vala

index 7c0cf57ed5ff305f4b20d47272bd0585ff990799..42ede835b823f5f54cec3b6f9962ec183dee4896 100644 (file)
@@ -1,6 +1,6 @@
 /* valaformalparameter.vala
  *
- * Copyright (C) 2006-2010  Jürg Billeter
+ * Copyright (C) 2006-2011  Jürg Billeter
  * Copyright (C) 2006-2008  Raffaele Sandrini
  *
  * This library is free software; you can redistribute it and/or
@@ -210,6 +210,8 @@ public class Vala.FormalParameter : Variable {
                        result.params_array = params_array;
                        result.direction = this.direction;
                        result.initializer = this.initializer;
+                       result.no_array_length = this.no_array_length;
+                       result.array_null_terminated = this.array_null_terminated;
                        return result;
                } else {
                        return new FormalParameter.with_ellipsis ();