Thomas Heller - 2009-03-26

Since ctypes is now distributed as part of Python, such a request must go into the Python tracker at

However, the 'callable as restype' protocol is broken because it only works when the foreing function returns an integer; it will not work for functions returning pointers when sizeof(int) != sizeof(void *)'. A new protocol must be developed for this to work in full generality.