Commit 0bed8d4c authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

Use [Compact] for the HashMap.Node and HashSet.Node classes

2008-05-30  Juerg Billeter  <j@bitron.ch>

	* gee/hashmap.vala:
	* gee/hashset.vala:

	Use [Compact] for the HashMap.Node and HashSet.Node classes

svn path=/trunk/; revision=36
parent 235371e3
2008-05-30 Jürg Billeter <j@bitron.ch>
* gee/hashmap.vala:
* gee/hashset.vala:
Use [Compact] for the HashMap.Node and HashSet.Node classes
2008-05-30 Jürg Billeter <j@bitron.ch>
* tests/testarraylist.vala: remove invalid type tests as these
......
......@@ -168,6 +168,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> {
clear ();
}
[Compact]
private class Node<K,V> {
public K key;
public V value;
......
......@@ -152,6 +152,7 @@ public class Gee.HashSet<G> : Object, Iterable<G>, Collection<G>, Set<G> {
clear ();
}
[Compact]
private class Node<G> {
public G key;
public Node<G> next;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment