cpython/Modules/_ctypes
Thomas Heller e4c03e4520 Use a PyDictObject again for the array type cache; retrieving items
from the WeakValueDictionary was slower by nearly a factor of 3.

To avoid leaks, weakref proxies for the array types are put into the
cache dict, with weakref callbacks that removes the entries when the
type goes away.
2008-01-24 18:36:27 +00:00
..
darwin Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi Fix a function pointer declaration to silence the compiler. 2008-01-17 18:45:10 +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 On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes the 2007-05-04 08:20:41 +00:00
_ctypes.c Use a PyDictObject again for the array type cache; retrieving items 2008-01-24 18:36:27 +00:00
_ctypes_test.c Add a 'c_longdouble' type to the ctypes module. 2007-09-07 06:32:17 +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 Use relative instead of absolute filenames in the C-level tracebacks. 2008-01-08 15:15:09 +00:00
callproc.c Use relative instead of absolute filenames in the C-level tracebacks. 2008-01-08 15:15:09 +00:00
cfield.c Use 'g' instead of 'D' as the ctypes typecode for c_longdouble, for 2008-01-16 20:34:37 +00:00
ctypes.h Add a 'c_longdouble' type to the ctypes module. 2007-09-07 06:32:17 +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 As discussed in issue 1700288: 2008-01-14 00:22:44 +00:00