[Kde-bindings] KDE/kdebindings

Arno Rehn kde at arnorehn.de
Sun Jul 27 18:33:43 UTC 2008


SVN commit 838401 by arnorehn:

* Created a generic Pointer<T> type, which holds an IntPtr pointing to
  an unmanaged value. It's needed for methods that expect a pointer to
  an array and because we can't wrap a System.Array around an unmanaged
  pointer and pointers inside C# can't be boxed and passed to
  MethodInfo.Invoke() (needed for overriding virtual methods). So
	void Foo(byte[] bytes)
	void Foo(byte* bytes)
  are not possible. For now it looke like
	void Foo(Pointer<byte> bytes)
  The Pointer<T> type behaves much like a real pointer, so you can do
  bytes[3]. To dereference it, just call bytes.Value.
  For now it's only used as Pointer<sbyte> when the C++ side expects a char*.
  This fixes a bug reported by Christoph Spielmann some months ago.
  There are probably more classes that need to be regenerated than just those
  I checked in.
* Add some more marshallers for reference types.
* Add some more pass-by-reference types to the C# module.
* Convert char* to Pointer<sbyte> instead of string.

CCMAIL: kde-bindings at kde.org



 M  +19 -0     csharp/qyoto/ChangeLog  
 M  +28 -8     csharp/qyoto/core/QAbstractFileEngine.cs  
 M  +2 -2      csharp/qyoto/core/QBuffer.cs  
 M  +2 -2      csharp/qyoto/core/QByteArray.cs  
 M  +72 -22    csharp/qyoto/core/QDataStream.cs  
 M  +4 -4      csharp/qyoto/core/QFSFileEngine.cs  
 M  +10 -10    csharp/qyoto/core/QFile.cs  
 M  +11 -11    csharp/qyoto/core/QIODevice.cs  
 M  +40 -3     csharp/qyoto/core/QProcess.cs  
 M  +63 -15    csharp/qyoto/core/QTextStream.cs  
 M  +4 -4      csharp/qyoto/network/QAbstractSocket.cs  
 M  +2 -2      csharp/qyoto/network/QFtp.cs  
 M  +2 -2      csharp/qyoto/network/QHttp.cs  
 M  +2 -2      csharp/qyoto/network/QLocalSocket.cs  
 M  +2 -2      csharp/qyoto/network/QSslSocket.cs  
 M  +5 -5      csharp/qyoto/network/QUdpSocket.cs  
 M  +89 -2     csharp/qyoto/src/Qyoto.cs  
 M  +21 -0     csharp/qyoto/src/SmokeMarshallers.cs  
 M  +126 -6    csharp/qyoto/src/handlers.cpp  
 M  +3 -0      csharp/qyoto/src/qyoto.h  
 M  +5 -0      kalyptus/ChangeLog  
 M  +22 -8     kalyptus/kalyptusCxxToKimono.pm  





More information about the Kde-bindings mailing list