On, Sat Aug 17, 2013, Lenard Lindstrom wrote: > Ctypes may be the way to go on PyPy, but it is slow in CPython. It lacks > new buffer support. Well, ctype types have buffers, but they don't work > with NumPy. Take a look at https://bitbucket.org/marcusva/py-sdl2/src/963b26e2110449a453efa7fa45328c0062c72697/sdl2/ext/pixelaccess.py?at=default Accessing ctypes buffers or exposing ctypes buffers to Numpy is not a problem. Cheers Marcus
Attachment:
pgpweeQ47fa9q.pgp
Description: PGP signature