]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapigen: Apply array attributes from finish method to async as well
authorMichal Hruby <michal.mhr@gmail.com>
Wed, 28 Apr 2010 12:55:04 +0000 (14:55 +0200)
committerJürg Billeter <j@bitron.ch>
Wed, 28 Apr 2010 12:57:04 +0000 (14:57 +0200)
vapigen/valagidlparser.vala

index a4c5a92e4eed342798af25c1ee0a3bafc1fa70d3..85e861b61b6896b1274f41636e3921773c1698bf 100644 (file)
@@ -1274,6 +1274,8 @@ public class Vala.GIdlParser : CodeVisitor {
 
                                if (finish_method != null) {
                                        m.return_type = finish_method.return_type.copy ();
+                                       m.no_array_length = finish_method.no_array_length;
+                                       m.array_null_terminated = finish_method.array_null_terminated;
                                        foreach (var param in finish_method.get_parameters ()) {
                                                if (param.direction == ParameterDirection.OUT) {
                                                        var async_param = param.copy ();