[Kde-bindings] KDE/kdebindings/csharp/qyoto/src
Arno Rehn
kde at arnorehn.de
Mon Dec 8 22:37:00 UTC 2008
SVN commit 894600 by arnorehn:
* Fix a crash with operator== and one argument being null.
This should actually be fixed in the operator method itself
and not in SmokeInvocation.Invoke(), but leave it like this
for now.
CCMAIL: kde-bindings at kde.org
M +7 -1 SmokeInvocation.cs
--- trunk/KDE/kdebindings/csharp/qyoto/src/SmokeInvocation.cs #894599:894600
@@ -534,7 +534,13 @@
args.Length / 2 );
}
#endif
-
+
+ if (signature.StartsWith("operator==")) {
+ if (args[0] == null && args[1] == null)
+ return true;
+ else if (args[0] == null || args[1] == null)
+ return false;
+ }
ModuleIndex methodId;
methodId.smoke = IntPtr.Zero;
methodId.index = -1;
More information about the Kde-bindings
mailing list