[vala/switch-to-gir: 19/25] girparser: Rename array_length_pos to array_length_idx in metadata.
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/switch-to-gir: 19/25] girparser: Rename array_length_pos to array_length_idx in metadata.
- Date: Sat, 18 Dec 2010 09:58:23 +0000 (UTC)
commit 98dacba0a36d3012d02ce003c524ab0b5d98ab7b
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Nov 20 09:56:38 2010 +0100
girparser: Rename array_length_pos to array_length_idx in metadata.
vala/valagirparser.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index b580d69..d2fdcaa 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -63,7 +63,7 @@ public class Vala.GirParser : CodeVisitor {
REPLACEMENT,
DEPRECATED_SINCE,
ARRAY,
- ARRAY_LENGTH_POS,
+ ARRAY_LENGTH_IDX,
DEFAULT,
OUT,
REF,
@@ -1681,8 +1681,8 @@ public class Vala.GirParser : CodeVisitor {
ctype = null;
}
- if (type is ArrayType && metadata.has_argument (ArgumentType.ARRAY_LENGTH_POS)) {
- array_length_idx = metadata.get_integer (ArgumentType.ARRAY_LENGTH_POS);
+ if (type is ArrayType && metadata.has_argument (ArgumentType.ARRAY_LENGTH_IDX)) {
+ array_length_idx = metadata.get_integer (ArgumentType.ARRAY_LENGTH_IDX);
}
if (transfer == "full" || transfer == "container" || destroy != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]