jcup...@gmail.com wrote:
Have you looked at cffi? It's a modern replacement for ctypes which automates a lot of this stuff.
Other possible approaches: * Write a C wrapper around the C++ API and call that using ctypes. * Use Cython to wrap the C++ API. -- Greg