[Kde-bindings] KDE/kdebindings/csharp/qyoto

Arno Rehn kde at arnorehn.de
Fri Aug 29 20:04:00 UTC 2008


SVN commit 854565 by arnorehn:

* Support char as a method return type.
* Add a QIODeviceWrapper class which provides a System.IO.Stream interface
  to a QIODevice.

CCMAIL: kde-bindings at kde.org



 M  +6 -0      ChangeLog  
 AM            core/QIODeviceWrapper.cs  
 M  +2 -0      src/SmokeInvocation.cs  


--- trunk/KDE/kdebindings/csharp/qyoto/ChangeLog #854564:854565
@@ -1,3 +1,9 @@
+2008-08-29  Arno Rehn  <arno at arnorehn.de>
+
+	* Support char as a method return type.
+	* Add a QIODeviceWrapper class which provides a System.IO.Stream interface
+	  to a QIODevice.
+
 2008-08-10  Richard Dale  <richard.j.dale at gmail.com>
 
 	* Fix a bug reported by Stefano Crocco where primitives types and QStrings
** trunk/KDE/kdebindings/csharp/qyoto/core/QIODeviceWrapper.cs #property svn:executable
   + *
--- trunk/KDE/kdebindings/csharp/qyoto/src/SmokeInvocation.cs #854564:854565
@@ -624,6 +624,8 @@
 						returnValue = stack[0].s_char;
 					} else if (returnType == typeof(byte)) {
 						returnValue = stack[0].s_uchar;
+					} else if (returnType == typeof(char)) {
+						returnValue = (char) stack[0].s_char;
 					} else {
 						if (((IntPtr) stack[0].s_class) == (IntPtr) 0) {
 							returnValue = null;



More information about the Kde-bindings mailing list