Using apr array for ctypes instead of my own data type