[vala/switch-to-gir-gio: 17/43] 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-gio: 17/43] girparser: Rename array_length_pos to array_length_idx in metadata.
- Date: Thu, 6 Jan 2011 00:32:04 +0000 (UTC)
commit b5185f1b71af0f6a9854477c061c7e69b920d7cf
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 e2ec111..4ae9462 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,
@@ -1688,8 +1688,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]