Skip to content Skip to sidebar Skip to footer
Showing posts with the label Swig

Swig No Module Named _example

I cannot reproduce the basic SWIG example on windows. My error is stated in the SWIG docs and I am … Read more Swig No Module Named _example

Combining Ctypes And Swig

I have been using SWIG for a long time - generally I like it. But doing callback functions seems (… Read more Combining Ctypes And Swig

Wrapping C-enum In A Python Module With Swig

I have a simple enum in C in myenum.h: enum MyEnum { ONE, TWO, THREE }; The problem is… Read more Wrapping C-enum In A Python Module With Swig

Return List Of New Custom-class Objects In Python C Api

I need to create a new list via the python C API containing new copies of objects of a Quaternion c… Read more Return List Of New Custom-class Objects In Python C Api

Wrapping A C++ Class In Python Using Swig

example.h: #ifndef EXAMPLE_H #define EXAMPLE_H class Math { public: int pi() const; void … Read more Wrapping A C++ Class In Python Using Swig

Running A Swig Bound Python+c Program Gives A Missing Dll Error When Running On Another Computer

So I have compiled a small testing program that uses SWIG as a bridge between python and C. The mai… Read more Running A Swig Bound Python+c Program Gives A Missing Dll Error When Running On Another Computer

Swig Argument Error When Using "using Std::vector" In Python

This is very related to this question Regardless of whether or not this is coding practice, I have … Read more Swig Argument Error When Using "using Std::vector" In Python

Swig Wrapped Vector Of Vectors (c++ To Python) - How To Recognise The Inner Vector As A Proxy Object?

I'm facing a similar issue to Wrap std::vector of std::vectors, C++ SWIG Python - but it's … Read more Swig Wrapped Vector Of Vectors (c++ To Python) - How To Recognise The Inner Vector As A Proxy Object?