File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
#include <Python.h>
15
15
16
+ #include <ffi.h> // FFI_TYPE_COMPLEX
17
+
16
18
#if defined(Py_HAVE_C_COMPLEX ) && defined(FFI_TYPE_COMPLEX )
17
19
# include "../_complex.h" // csqrt()
18
20
# undef I // for _ctypes_test_generated.c.h
Original file line number Diff line number Diff line change 11
11
#include "pycore_bitutils.h" // _Py_bswap32()
12
12
#include "pycore_call.h" // _PyObject_CallNoArgs()
13
13
14
- #if defined(Py_HAVE_C_COMPLEX ) && defined(FFI_TYPE_COMPLEX )
15
- # include "../_complex.h" // complex
16
- #endif
17
-
18
14
#include <ffi.h>
19
15
#include "ctypes.h"
20
16
17
+ #if defined(Py_HAVE_C_COMPLEX ) && defined(FFI_TYPE_COMPLEX )
18
+ # include "../_complex.h" // complex
19
+ #endif
21
20
22
21
#define CTYPES_CFIELD_CAPSULE_NAME_PYMEM "_ctypes/cfield.c pymem"
23
22
Original file line number Diff line number Diff line change 2
2
# include <alloca.h>
3
3
#endif
4
4
5
+ #include <ffi.h> // FFI_TYPE_COMPLEX
6
+
5
7
#include "pycore_moduleobject.h" // _PyModule_GetState()
6
8
#include "pycore_typeobject.h" // _PyType_GetModuleState()
7
9
You can’t perform that action at this time.
0 commit comments