libgee r9 - in trunk: . gee



Author: juergbi
Date: Tue Jan 22 11:00:14 2008
New Revision: 9
URL: http://svn.gnome.org/viewvc/libgee?rev=9&view=rev

Log:
2007-08-30  Juerg Billeter  <j bitron ch>

	* gee/hashmap.vala, gee/hashset.vala: replace reference-type structs
	  by classes


Modified:
   trunk/ChangeLog
   trunk/gee/hashmap.vala
   trunk/gee/hashset.vala

Modified: trunk/gee/hashmap.vala
==============================================================================
--- trunk/gee/hashmap.vala	(original)
+++ trunk/gee/hashmap.vala	Tue Jan 22 11:00:14 2008
@@ -165,8 +165,7 @@
 		clear ();
 	}
 
-	[ReferenceType]
-	private struct Node<K,V> {
+	private class Node<K,V> {
 		public K key;
 		public V value;
 		public Node<K,V> next;

Modified: trunk/gee/hashset.vala
==============================================================================
--- trunk/gee/hashset.vala	(original)
+++ trunk/gee/hashset.vala	Tue Jan 22 11:00:14 2008
@@ -146,8 +146,7 @@
 		clear ();
 	}
 
-	[ReferenceType]
-	private struct Node<G> {
+	private class Node<G> {
 		public G key;
 		public Node<G> next;
 		public uint key_hash;



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