cpython/Modules/_ctypes
Thomas Heller 867200483b Apply the patch #1532975 plus ideas from the patch #1533481.
ctypes instances no longer have the internal and undocumented
'_as_parameter_' attribute which was used to adapt them to foreign
function calls; this mechanism is replaced by a function pointer in
the type's stgdict.

In the 'from_param' class methods, try the _as_parameter_ attribute if
other conversions are not possible.

This makes the documented _as_parameter_ mechanism work as intended.

Change the ctypes version number to 1.0.1.
2006-08-14 11:17:48 +00:00
..
darwin Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi Patch #1529514: More openbsd platforms for ctypes. 2006-07-28 21:43:20 +00:00
libffi_arm_wince Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi_msvc Fixes so that _ctypes can be compiled with the MingW compiler. 2006-07-03 08:04:05 +00:00
_ctypes.c Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
_ctypes_test.c Remove unused, buggy test function. 2006-08-14 07:13:05 +00:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
callbacks.c Revert the change that tries to zero out a closure's result storage 2006-08-14 10:02:24 +00:00
callproc.c Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
cfield.c Check returned pointer is valid. 2006-08-12 02:06:34 +00:00
ctypes.h Apply the patch #1532975 plus ideas from the patch #1533481. 2006-08-14 11:17:48 +00:00
ctypes_dlfcn.h Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
malloc_closure.c Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
stgdict.c Speed up PyType_stgdict and PyObject_stgdict. 2006-08-01 19:14:15 +00:00