[vala/staging] girparser: Decrease return_array_length_idx for transformed function
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] girparser: Decrease return_array_length_idx for transformed function
- Date: Tue, 3 Mar 2020 06:31:32 +0000 (UTC)
commit 4fb11562ee7bdec234d486d16a154da7b493a8d5
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Mar 2 23:56:57 2020 +0100
girparser: Decrease return_array_length_idx for transformed function
vala/valagirparser.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 6d6f767d8..1e0d9a939 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -4115,6 +4115,7 @@ public class Vala.GirParser : CodeVisitor {
ns.remove_member (node);
node.name = new_name;
node.parameters.remove_at (0);
+ node.return_array_length_idx--;
method.name = new_name;
method.binding = MemberBinding.INSTANCE;
parent.add_member (node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]