diff options
author | Thomas Heller <theller@ctypes.org> | 2006-04-18 20:09:27 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-04-18 20:09:27 (GMT) |
commit | b6dfaed90337565b40dca779bded0a67a9dbcd51 (patch) | |
tree | c6d78093bacf872ed9f10a903b48f0df7eb8d04a /Modules | |
parent | 058be9adbcaa7828be1f7575b5bda64158ab2c3c (diff) | |
download | cpython-b6dfaed90337565b40dca779bded0a67a9dbcd51.zip cpython-b6dfaed90337565b40dca779bded0a67a9dbcd51.tar.gz cpython-b6dfaed90337565b40dca779bded0a67a9dbcd51.tar.bz2 |
Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/callproc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index 9420c23..8163f49 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -581,10 +581,10 @@ ffi_type *GetType(PyObject *obj) /* This little trick works correctly with MSVC. It returns small structures in registers */ - if (dict->ffi_type.type == FFI_TYPE_STRUCT) { - if (dict->ffi_type.size <= 4) + if (dict->ffi_type_pointer.type == FFI_TYPE_STRUCT) { + if (dict->ffi_type_pointer.size <= 4) return &ffi_type_sint32; - else if (dict->ffi_type.size <= 8) + else if (dict->ffi_type_pointer.size <= 8) return &ffi_type_sint64; } #endif |