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

Importing A .pyd (created With Swig) In Python 2.7.3 On Mac

I have created a .pyd file with SWIG under Windows named (_example.pyd). I am able to send the file… Read more Importing A .pyd (created With Swig) In Python 2.7.3 On Mac

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

Swig Cannot Convert Typedef Type Correct

I'm using SWIT to convert a vc project to python. I found when a struct has a member which type… Read more Swig Cannot Convert Typedef Type Correct

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

How Should I Unit Test A Code-generator?

This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and… Read more How Should I Unit Test A Code-generator?

Swig_shared_ptr Macro With Templated Class

I'm using SWIG with boost shared pointers to create python extensions. My current issue is tha… Read more Swig_shared_ptr Macro With Templated Class

A Trivial Python Swig Error Question

I am trying to get Python running with swig to do C/C++. I am running the tutorial here, 'buil… Read more A Trivial Python Swig Error Question

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

Swig Function With Pointer Struct

Im new using SWIG to wrapped C shared library. I have problem to call a C function with Struct poin… Read more Swig Function With Pointer Struct

Use Struct In Swig Argout Typemap

I want to call a C function from Python, which should create and initialize a struct. I want this s… Read more Use Struct In Swig Argout Typemap

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?

How To Pass Python List Address

I want to convert c++ code to python. I have created a python module using SWIG to access c++ class… Read more How To Pass Python List Address

Import Error: DLL Load Failed In Jupyter Notebook But Working In .py File

I installed BreakoutDetection the module in Anaconda environment. When I tried to import the module… Read more Import Error: DLL Load Failed In Jupyter Notebook But Working In .py File

How Should I Unit Test A Code-generator?

This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and… Read more How Should I Unit Test A Code-generator?