Accessing Pygame surfaces with C/C++ via ctypes and the Numpy-based surfarray module.