[vala/switch-to-gir: 17/34] girparser: Rename array_length_pos to array_length_idx in metadata.



commit 0a5c8be2dfd1cf0dfbed96d915a6925518b36cec
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 a891026..3131c42 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,
@@ -1680,8 +1680,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]