Simple test of pybind11 creating numpy arrays of objects managed in C++.
See src/pybind11_obj_test.cpp
Install pybind11: pip install pybind11
.
Then run python setup.py develop
in this repo.
See the test in test.py
. After compiling it should print points.