[PyKDE] SIP: Newbie and char buffers

Giovanni Bajo rasky at develer.com
Fri Feb 2 19:43:48 GMT 2007


On 2/2/2007 7:32 PM, Phil Thompson wrote:

>> virtual lt_uint32 read( lt_uint8 *pDest, lt_uint32 numBytes );

> For an example get a copy of PyQt3 and look at the implementation of 
> readBlock() in qiodevice.sip - both the %MethodCode and 
> the %VirtualCatcherCode.

... in the hope that one day this will be sufficient:


virtual lt_uint32 read( lt_uint8 *pDest /Array,Out/, lt_uint32 numBytes 
/ArraySize/);

:)
-- 
Giovanni Bajo




More information about the PyQt mailing list