Looks like I made it work, somehow. Anyway, I refer to the class
template in the SIP specification using a typedef. That leads to
another problem, however. The generated code refers to the typedef,
but lacks its definition. How do I include the header containing the
typedef?? For a class I would use %TypeHeaderCode, but can't see
anyway of doing the same for typedefs ..

Arve

On 6/13/08, Arve Knudsen <[EMAIL PROTECTED]> wrote:
> I'm trying to wrap a class method which returns a templated type,
>  which I've successfully defined in the SIP specification. SIP doesn't
>  accept the templated type as the function return type however, saying:
>  "unsupported function return type - provide %MethodCode and a C++
>  signature". What's going on here?
>
>  Thanks,
>
> Arve
>
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to