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

Does Cmake Support Python3?

I am not able to build a Python wrapper module for my C library via CMake and Swig for Python3. Eve… Read more Does Cmake Support Python3?

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

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

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?

Compiling Swig Wrapper For Python In Windows

First, thank all of you for all the answer you gave me on this forum the last years, but today I co… Read more Compiling Swig Wrapper For Python In Windows

How To Get Python Slicing To Work With My C++ Array Class Using Swig

I have an an array class, Array1D, defined in c++ which essentially wraps the STL vector class. I e… Read more How To Get Python Slicing To Work With My C++ Array Class Using Swig

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

Swig And Boost::variant

I'm in the middle of trying to wrap a c++ project into a python api using SWIG and I'm runn… Read more Swig And Boost::variant