Python wrapper for swig

qi_swig_wrap_python

qi_swig_wrap_python(module_name interface_file [SRC <src> ...]
    [DEPENDS <depends> ...]
)
Arguments:
  • module_name – the target name
  • interface_file – the swig interface file (extension is .i)
  • SRC – The list of source files
  • DEPENDS – The list of dependencies

Create a python wrapping of the C/C++ library

Warning

The module_name must match the name declared in interface_file for instance, if module_name equals foo, foo.i must contain: %module foo