Work on ctypes conversion