Mark array methods as external
authorJürg Billeter <j@bitron.ch>
Mon, 7 Jul 2008 15:43:07 +0000 (15:43 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 7 Jul 2008 15:43:07 +0000 (15:43 +0000)
2008-07-07  Jürg Billeter  <j@bitron.ch>

* vala/valaarraylengthfield.vala:
* vala/valaarraymovemethod.vala:
* vala/valaarrayresizemethod.vala:

Mark array methods as external

svn path=/trunk/; revision=1684

ChangeLog
vala/valaarraylengthfield.vala
vala/valaarraymovemethod.vala
vala/valaarrayresizemethod.vala

index 423b5cf..947aea4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-07-07  Jürg Billeter  <j@bitron.ch>
+
+       * vala/valaarraylengthfield.vala:
+       * vala/valaarraymovemethod.vala:
+       * vala/valaarrayresizemethod.vala:
+
+       Mark array methods as external
+
 2008-07-07  Raffaele Sandrini  <raffaele@sandrini.ch>
 
        * compiler/valacompiler.vala:
index 57615b7..f1df775 100644 (file)
@@ -1,6 +1,6 @@
 /* valaarraylengthfield.vala
  *
- * Copyright (C) 2007  Jürg Billeter
+ * Copyright (C) 2007-2008  Jürg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -32,7 +32,8 @@ public class Vala.ArrayLengthField : Field {
         * @return newly created field
         */
        public ArrayLengthField (SourceReference source_reference) {
-               this.source_reference = source_reference;
                name = "length";
+               external = true;
+               this.source_reference = source_reference;
        }
 }
index 9d91189..cc71c7a 100644 (file)
@@ -1,6 +1,6 @@
 /* valaarraymovemethod.vala
  *
- * Copyright (C) 2007  Jürg Billeter
+ * Copyright (C) 2007-2008  Jürg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -32,7 +32,8 @@ public class Vala.ArrayMoveMethod : Method {
         * @return newly created method
         */
        public ArrayMoveMethod (SourceReference source_reference) {
-               this.source_reference = source_reference;
                name = "move";
+               external = true;
+               this.source_reference = source_reference;
        }
 }
index 5df8943..7e8da05 100644 (file)
@@ -32,8 +32,9 @@ public class Vala.ArrayResizeMethod : Method {
         * @return newly created method
         */
        public ArrayResizeMethod (SourceReference source_reference) {
-               this.source_reference = source_reference;
                name = "resize";
+               external = true;
+               this.source_reference = source_reference;
        }
 
        construct {