+2008-06-16 Jamie McCracken <jamiemcc@gnome.org>
+
+ * vala/valagenieparser.vala:
+
+ set equal func for list automatically based on type
+
2008-06-16 Jürg Billeter <j@bitron.ch>
* vapi/gdk-2.0.deps:
list_member.creation_member = true;
var expr = new ObjectCreationExpression (list_member, get_src (begin));
+
+ if (member.member_name == "string") {
+ parent_member = new MemberAccess (null, "GLib", get_src (begin));
+ expr.add_argument (new MemberAccess (parent_member, "str_equal", get_src (begin)));
+
+ } else if (member.member_name == "int") {
+ parent_member = new MemberAccess (null, "GLib", get_src (begin));
+ expr.add_argument (new MemberAccess (parent_member, "int_equal", get_src (begin)));
+ }
return expr;
}