How to save ctypes objects containing pointers
You could copy the data into a Python data structure and dereference the pointers as you go (using the contents attribute of a pointer).
I use a 3rd party library which returns after a lot of computation a ctypes object containing pointers.
How can I save the ctypes object and what the pointers are pointing to for later use?
I tried 

scipy.io.savemat => TypeError: Could not convert object to array
cPickle  => ctypes objects containing pointers cannot be pickled