commit | 2a899c8b767144e809418fd04f83e4e5789084cd | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Fri Aug 11 19:55:35 2006 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Fri Aug 11 19:55:35 2006 +0000 |
tree | 6fb25c2395ae8700396b4c03b7d35af2c1113a74 | |
parent | 975c8bb515d8b1765b36ac90a92cffea8b38b7db [diff] |
When a ctypes C callback function is called, zero out the result storage before converting the result to C data. See the comment in the code for details. Provide a better context for errors when the conversion of a callback function's result cannot be converted.