2003-11-29 Mike Kestner <mkestner@speakeasy.net>

* generator/StructBase.cs : remove ==/!= operator generation.

svn path=/trunk/gtk-sharp/; revision=20611
This commit is contained in:
Mike Kestner 2003-11-29 23:12:54 +00:00
parent 8fce5c1f4b
commit c8afbd3ca2
2 changed files with 4 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : remove ==/!= operator generation.
2003-11-28 Miguel de Icaza <miguel@ximian.com> 2003-11-28 Miguel de Icaza <miguel@ximian.com>
* gdk/Pixmap.custom: Added Pixmap.custom to add a convenience constructor. * gdk/Pixmap.custom: Added Pixmap.custom to add a convenience constructor.

View file

@ -260,16 +260,6 @@ namespace GtkSharp.Generation {
sw.WriteLine ("\t\t\treturn self;"); sw.WriteLine ("\t\t\treturn self;");
sw.WriteLine ("\t\t}"); sw.WriteLine ("\t\t}");
sw.WriteLine (); sw.WriteLine ();
sw.WriteLine ("\t\tpublic static bool operator == ({0} a, {0} b)", QualifiedName);
sw.WriteLine ("\t\t{");
sw.WriteLine ("\t\t\treturn a.Equals (b);");
sw.WriteLine ("\t\t}");
sw.WriteLine ();
sw.WriteLine ("\t\tpublic static bool operator != ({0} a, {0} b)", QualifiedName);
sw.WriteLine ("\t\t{");
sw.WriteLine ("\t\t\treturn ! a.Equals (b);");
sw.WriteLine ("\t\t}");
sw.WriteLine();
foreach (Ctor ctor in Ctors) { foreach (Ctor ctor in Ctors) {
ctor.ForceStatic = true; ctor.ForceStatic = true;