ctypes 0.3
Merge pull request #2111 from yallop/ctypes-0.3

ctypes 0.3