Commit d560080e authored by Thomas Heller's avatar Thomas Heller

Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.

parent 3882ac16
...@@ -581,10 +581,10 @@ ffi_type *GetType(PyObject *obj) ...@@ -581,10 +581,10 @@ ffi_type *GetType(PyObject *obj)
/* This little trick works correctly with MSVC. /* This little trick works correctly with MSVC.
It returns small structures in registers It returns small structures in registers
*/ */
if (dict->ffi_type.type == FFI_TYPE_STRUCT) { if (dict->ffi_type_pointer.type == FFI_TYPE_STRUCT) {
if (dict->ffi_type.size <= 4) if (dict->ffi_type_pointer.size <= 4)
return &ffi_type_sint32; return &ffi_type_sint32;
else if (dict->ffi_type.size <= 8) else if (dict->ffi_type_pointer.size <= 8)
return &ffi_type_sint64; return &ffi_type_sint64;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment