summaryrefslogtreecommitdiff
path: root/gee/hashset.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-05-25 13:29:24 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-05-25 13:29:24 +0000
commitf3eeb7de302bc765f2d5f790b3523cece967dd2f (patch)
tree69d301ee4f34672f2c4bb33f6fad0b79288a5e13 /gee/hashset.vala
parent15989e7dfe023b28eb51ebca918db4d499ffa3a6 (diff)
downloadvala-f3eeb7de302bc765f2d5f790b3523cece967dd2f.tar.gz
Add support for [Compact] class attribute, register non-compact classes
2008-05-25 Juerg Billeter <j@bitron.ch> * vala/valaclass.vala: * vala/valainterfacewriter.vala: * gobject/valaccodeclassbinding.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodememberaccessbinding.vala: * gobject/valaccodemethodbinding.vala: * gobject/valatyperegisterfunction.vala: Add support for [Compact] class attribute, register non-compact classes with GType, fixes bug 532518 * gee/hashmap.vala: * gee/hashset.vala: * gobject-introspection/gidl.vapi: * tests/classes.exp: * tests/classes.vala: * vapi/glib-2.0.vapi: Update to use compact classes where appropriate svn path=/trunk/; revision=1425
Diffstat (limited to 'gee/hashset.vala')
-rw-r--r--gee/hashset.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/gee/hashset.vala b/gee/hashset.vala
index 96e85f47d..d614701bf 100644
--- a/gee/hashset.vala
+++ b/gee/hashset.vala
@@ -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;