diff options
author | Juerg Billeter <j@bitron.ch> | 2007-08-30 14:54:51 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2007-08-30 14:54:51 +0000 |
commit | 470aa3cca2eb3f19df3350c0e4445156679bf09d (patch) | |
tree | a891f80f5ab5cffe61291237398467bcfad06321 /gee | |
parent | 78cb7e64a9228c549b86bf1fcbe83ea08f0167df (diff) | |
download | vala-470aa3cca2eb3f19df3350c0e4445156679bf09d.tar.gz |
replace reference-type structs by classes, requires r539 to build
2007-08-30 Juerg Billeter <j@bitron.ch>
* gee/hashmap.vala, gee/hashset.vala, vapi/glib-2.0.vala,
gobject-introspection/gidl.vala: replace reference-type structs by
classes, requires r539 to build
svn path=/trunk/; revision=540
Diffstat (limited to 'gee')
-rw-r--r-- | gee/hashmap.vala | 3 | ||||
-rw-r--r-- | gee/hashset.vala | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/gee/hashmap.vala b/gee/hashmap.vala index 89abb932e..675de7105 100644 --- a/gee/hashmap.vala +++ b/gee/hashmap.vala @@ -165,8 +165,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> { clear (); } - [ReferenceType] - private struct Node<K,V> { + private class Node<K,V> { public K key; public V value; public Node<K,V> next; diff --git a/gee/hashset.vala b/gee/hashset.vala index c053a1c82..ec89d023d 100644 --- a/gee/hashset.vala +++ b/gee/hashset.vala @@ -146,8 +146,7 @@ public class Gee.HashSet<G> : Object, Iterable<G>, Collection<G>, Set<G> { clear (); } - [ReferenceType] - private struct Node<G> { + private class Node<G> { public G key; public Node<G> next; public uint key_hash; |