[vala/switch-to-gir: 19/26] 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/26] girparser: Rename array_length_pos to array_length_idx in metadata.
- Date: Sun, 19 Dec 2010 22:00:02 +0000 (UTC)
commit 4059f3f188dd49454560925f8a3dfdb2e8bf4aff
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]