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

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?

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 Wrapping C++ For Python: Translating A List Of Strings To An Stl Vector Of Stl Strings

I would like to wrap a C++ function with SWIG which accepts a vector of STL strings as an input arg… Read more Swig Wrapping C++ For Python: Translating A List Of Strings To An Stl Vector Of Stl Strings

Add Hand-wrapped Method To Swig Output

I have a SWIG module where I want to add a hand-rolled method. %module frob %inline %{ int Fo… Read more Add Hand-wrapped Method To Swig Output

How To Expose Std::vector As A Python List Using Swig?

I'm trying to expose this function to Python using SWIG: std::vector get_match_stats(); And I… Read more How To Expose Std::vector As A Python List Using Swig?

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

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