Category "swig"

Calling C++ function using python

I am trying to build python wrapper for a function implemented in C++ that accepts 2d vector and returns 2d vector. I am trying to adapt the code from this to s

Loading built-in Python Wrappers in TensorFlow

I'm trying to understand the complete process of exposing the built-in low-level C++ implementations to the Python API in TensorFlow. I've been looking at the s

How to make a C++ class iterable from Python using SWIG?

I have a C++ class Collection that manages a std::vector<Element> (a private member of the class). From C++ I can iterate through the vector using the b

Installing M2Crypto inside of virtualenv without installing swig to the system

I am working in a virtual environment and when I pip install M2Crypto on a machine that happens to have swig installed (system-wide) then it installs fine. I ne