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

Swig With Python And C: Arguments

I have this function: void func(int* a, int b); Which I want to make available in python like so: … Read more Swig With Python And C: Arguments

Extending Swig Builtin Classes

The -builtin option of SWIG has the advantage of being faster, and of being exempt of a bug with mu… Read more Extending Swig Builtin Classes

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?

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

Calling A Python Function In C++ With Swig

Here is my c++ code: void callMethod(void (*someMethod)()) { (*someMethod)(); } My Swig .i fil… Read more Calling A Python Function In C++ With Swig

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

Python Swig : Importerror Wrong Elf Class: Elfclass64

I am trying to interface from python to c++ code via swig. I get the following error , while trying… Read more Python Swig : Importerror Wrong Elf Class: Elfclass64

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