diff options
author | Thomas Heller <theller@ctypes.org> | 2006-08-14 11:17:48 +0000 |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-08-14 11:17:48 +0000 |
commit | 867200483bd518d4fbd9e3d16f8785b6395af9b7 (patch) | |
tree | 6520737e434c243517ef30a6e3d3e8cdd07d0b6c /Objects/stringobject.c | |
parent | 040f76b79c0ce86dc33b9c525fbcd84b2254e559 (diff) | |
download | cpython-git-867200483bd518d4fbd9e3d16f8785b6395af9b7.tar.gz |
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.
Diffstat (limited to 'Objects/stringobject.c')
0 files changed, 0 insertions, 0 deletions