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

Ryan Gonzalez rymg19 at gmail.com
Wed Apr 1 20:17:28 CEST 2015


I'm trying to wrap a library that has a member template function defined
like so:

template<typename T>
ASMJIT_INLINE T& getData() {
    return reinterpret_cast<T&>(_base);
}

template<typename T>
ASMJIT_INLINE const T& getData() const {
  return reinterpret_cast<const T&>(_base);
}

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>

but I get this:

signature 'getData()' for function modification in 'asmjit::Operand' not
found. Possible candidates:

and it doesn't list anything.

-- 
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/2455332c/attachment.html>


More information about the PySide mailing list