[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Accessing C++ libs with ctypes



jcupitt@xxxxxxxxx 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