[PySide] How to remove a template function in Shiboken?

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Apr 1 20:31:49 CEST 2015


On 2015-04-01 14:17, Ryan Gonzalez wrote:
> I'm trying to wrap a library that has a member template function defined
> like so:
> [...]
> 
> It's used internally, so I don't need to bind it. I tried this:
> 
>     <object-type name="Operand">
>       <modify-function signature="getData()" remove="all"/>
>     </object-type>

I believe you want a rejection... see
https://github.com/PySide/Shiboken/blob/master/ApiExtractor/doc/typesystem_specifying_types.rst.

Specifically, this might be what you want:

  <rejection class="Operand" function-name="getData()"/>

-- 
Matthew




More information about the PySide mailing list