SIP translation of unsigned char array of size 1 in struct

Marian Thomsen marian.th at outlook.de
Wed Feb 17 12:53:52 GMT 2021


Hello,

I have difficulties translating this type of array inside a struct. It is the destination of a memcopy operation.

struct Test {
    unsigned char data[1];

    ...

    Test();
    Test( ... );
};

Unfortunately I cannot touch the c++ headerfile.

What would be a good approach?

Thank you in advance!

M.T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210217/49048e23/attachment.htm>


More information about the PyQt mailing list