-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-61103: support double complex (_Complex) type in ctypes #120894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
c9b872f
b402300
ad39e6d
fd9135b
c296fb3
7453ca5
e444c9c
2e90643
32ffacf
9163950
bf81682
af2fdce
6d9d5ab
f9c709c
ccd418d
eb313dc
693c04e
0ee7049
de91bbe
b79200e
be6a685
04e89c2
0bc87da
6347412
e757fb6
1eb989c
b44aae2
2153608
af42aa8
e57198e
36732bc
892b241
ee953c3
875cbb8
f8e3a47
f447919
7b1c366
2ea028a
837add4
1b8f37e
0bd1ebe
6eba445
a6ac463
615e8de
f7d9973
3d170bd
4dd044c
4cf7045
264fa7d
f54b964
23db200
5a7e366
388e2ca
e888565
56b524c
e9cab4a
6d5bf66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -13,6 +13,8 @@ | |||||
|
||||||
#include <Python.h> | ||||||
|
||||||
#include <ffi.h> // FFI_TYPE_COMPLEX | ||||||
Check failure on line 16 in Modules/_ctypes/_ctypes_test.c
|
||||||
|
||||||
#if defined(Py_HAVE_C_COMPLEX) && defined(FFI_TYPE_COMPLEX) | ||||||
# include "../_complex.h" // csqrt() | ||||||
# undef I // for _ctypes_test_generated.c.h | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here I would like to emphasize where new macro create a problem. I.e. name - matter, what it's - actually irrelevant. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we avoid the relative include? They tend to produce problems further down the road. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about There is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @vstinner: I'd really like to avoid the relative include, but we can fix that in a follow-up PR. |
||||||
|
Uh oh!
There was an error while loading. Please reload this page.