Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 325 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 325 Bytes

C++ to python using ctypes

Example of wrapping a C++ class using ctypes.

It has been tested in MacOS and python 3.10. It should work on Linux, even though it has not been tested.

Installation

Clone the repository

Run sh build.sh

There are three C++ examples. runner.cpp has an example with numpy arrays.