[vala] vapigen: Apply array attributes from finish method to async as well
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] vapigen: Apply array attributes from finish method to async as well
- Date: Wed, 28 Apr 2010 12:57:20 +0000 (UTC)
commit fc19d3fdf548824daa21ebcd347a61d84e1901b1
Author: Michal Hruby <michal mhr gmail com>
Date: Wed Apr 28 14:55:04 2010 +0200
vapigen: Apply array attributes from finish method to async as well
vapigen/valagidlparser.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index a4c5a92..85e861b 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]