[Python-checkins] r45548 - python/trunk/Modules/_ctypes/callproc.c
thomas.heller
python-checkins at python.org
Tue Apr 18 22:09:28 CEST 2006
Author: thomas.heller
Date: Tue Apr 18 22:09:27 2006
New Revision: 45548
Modified:
python/trunk/Modules/_ctypes/callproc.c
Log:
Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.
Modified: python/trunk/Modules/_ctypes/callproc.c
==============================================================================
--- python/trunk/Modules/_ctypes/callproc.c (original)
+++ python/trunk/Modules/_ctypes/callproc.c Tue Apr 18 22:09:27 2006
@@ -581,10 +581,10 @@
/* 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
More information about the Python-checkins
mailing list