Hi,
Adding support for classes to be sent as an argument using the argtypes
attribute and from_param(...) method seems pretty straight forward. Can a
similar extension be done to support the restype attribute, or will the
errcheck attribute be needed to do this conversion on the result?
More specifically I'd like to convert from ctypes arrays to NumPy arrays on
the fly when calling a DLL function.
Thanks,
Jens
Nobody/Anonymous
None
None
Public
|
Date: 2009-03-26 20:55 Since ctypes is now distributed as part of Python, such a request must go |