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

Ryan Gonzalez rymg19 at gmail.com
Wed Apr 1 20:34:32 CEST 2015


That did the trick. Thanks!

On Wed, Apr 1, 2015 at 1:31 PM, Matthew Woehlke <
mw_triad at users.sourceforge.net> wrote:

> 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
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>



-- 
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20150401/a03d4771/attachment.html>


More information about the PySide mailing list