[vala] girparser: Rename array_length_pos to array_length_idx in metadata.



commit e207c24ef3f047c691fef9f2088940f6f8917f55
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 62cd4e4..30b1193 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]