Replaced Python wrapper classes with c_void_p in argtypes and restype declarations for several classes, enough for a minimal example to work correctly on OS X