[libgee/future-abi: 2/2] Add GenericAccessors attributes to interfaces.



commit 2d4790460157ea0251442980ea6bb8458a7ee400
Author: Jeremy Whiting <jpwhiting kde org>
Date:   Thu Jul 19 11:12:37 2012 -0600

    Add GenericAccessors attributes to interfaces.

 gee/collection.vala  |    1 +
 gee/mapiterator.vala |    1 +
 gee/traversable.vala |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gee/collection.vala b/gee/collection.vala
index 063858b..93238bd 100644
--- a/gee/collection.vala
+++ b/gee/collection.vala
@@ -23,6 +23,7 @@
 /**
  * A generic collection of objects.
  */
+[GenericAccessors]
 public interface Gee.Collection<G> : Iterable<G> {
 	/**
 	 * The number of items in this collection.
diff --git a/gee/mapiterator.vala b/gee/mapiterator.vala
index 80f94ef..a098b1d 100644
--- a/gee/mapiterator.vala
+++ b/gee/mapiterator.vala
@@ -38,6 +38,7 @@ namespace Gee {
  * will fail. After the next call to { link next}, they will
  * be defined again.
  */
+[GenericAccessors]
 public interface Gee.MapIterator<K,V> : Object {
 	/**
 	 * Advances to the next entry in the iteration.
diff --git a/gee/traversable.vala b/gee/traversable.vala
index d31ffc5..c3d53bb 100644
--- a/gee/traversable.vala
+++ b/gee/traversable.vala
@@ -53,6 +53,7 @@ namespace Gee {
  *
  * @since 0.7.0
  */
+[GenericAccessors]
 public interface Gee.Traversable<G> : Object {
 	/**
 	 * Apply function to each element returned by iterator. 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]