[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: SIP - additional argument in constructor - derived class
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2021-03-09 14:00:52
Message-ID: 9bd0f43cddf08d9c2fb6f9666bff94aa () riverbankcomputing ! com
[Download RAW message or body]

On 09/03/2021 13:44, Marian Thomsen wrote:
> Hello,
> 
> when I have an additional argument in a constructor of a derived class
> (this argument does not exist in my c++ base class) and try to
> translate this class with SIP v6.0.2 I get:
> 
> ctor argument 1 has an unsupported type for a Python signature -
> provide a valid type, %MethodCode and a C++ signature
> 
> How do I solve this with %MethodCode?
> Or is there another work-around?

It's not clear from your explanation what you mean. What are the actual 
signatures?

Phil
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic